Reputation: 24758
$ git branch
master
*branch1
$ git push -f
And I over wrote origin/master with local stale master. What is the correct way to use git push -f
?
Upvotes: 0
Views: 45
Reputation: 5404
git push -f origin branch1
This will force push your branch1 and not master.
Upvotes: 1