How do I force push local project folder (updated) to remote branch of same folder but slightly outdated?
I am using Eclipse with eGit plugin, my problem is: I had to work in college today on project without git (Downloaded as project from Bitbucket), worked on it, did quite a lot of updates, about 600 new lines in different files so manual merging would be very bad. So I have right now an offline version (the newer one) and I have online branch version which is older. How can I force update online version with offline version?
One Solution collect form web for “How do I force push local project folder (updated) to remote branch of same folder but slightly outdated?”
You could simply zip your offline project, unzip it on a local working tree that you would empty first .
Git will detect all the changes, all the added or removed files.
git add -A git commit -m "new commit" git push.
You publish (push) a new commit which will represent all your changes.
No merge required here.