Am I in master or in a branch?
Merge branch with master (unsuccessfully):
Read what a detached head ["* (no branch)"] is ... Solution:
$ git branch * (no branch) master
Merge branch with master (unsuccessfully):
$ git merge branch fatal: branch - not something we can merge
Read what a detached head ["* (no branch)"] is ... Solution:
$ git branch tmp $ git checkout master $ git merge tmp
No comments:
Post a Comment