I’m trying to bring a feature branch (“tricoherence”) up-to-date with the master branch using this command:
git rebase master tricoherence
Unsurprisingly, I have a merge conflict. No problem, I fire up git mergetool and save the day. Of critical importance (I think) is that I’m using opendiff (== FileMerge) to resolve merges. When I save the file in FileMerge, I go back to the terminal, and find that I’m no longer in my branch:
computer$ git branch * (no branch) master tricoherence
What happened?
So, I got the answer on the #git irc channel:
So, in order: