dave@dave-dev:/media/dev/belgravia$ git branch
* (no branch)
master
I'm not sure how this happened, but is there a way I can merge no-branch into the master. I'm not sure how I can merge two branches when one of them is not a branch. The commits in no-branch seem to be loose. I'm afraid that checkout master
will cause data loss.
git rebase
. Just dogit rebase --continue
and it bring you back to the branch you were on before.