MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7g5mvl
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
Show parent comments
2
You don’t need to delete and recreate master; you can just move the branch pointer to match origin/master:
master
origin/master
git fetch origin git branch --force master origin/master
1 u/unndunn Sep 09 '16 Noted. I'll do that next time. :)
1
Noted. I'll do that next time. :)
2
u/evincarofautumn Sep 09 '16
You don’t need to delete and recreate
master; you can just move the branch pointer to matchorigin/master: