I am new to Git and I seem to have one branch too many if I execute the following command:
warning: refname 'HEAD' is ambiguous.
I get the following output:
warning: refname 'HEAD' is ambiguous.
From github.com:dagda1/hornget
* branch master -> FETCH_HEAD
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
If I execute git branch -a
I get the following:
HEAD
* master
remotes/emmekappa/master
remotes/origin/HEAD -> origin/master
remotes/origin/master
I am confused by the remotes/origin/HEAD -> origin/master
.
What is this and how can I get rid of the ambiguous branch.
I got to this stage by performing a merge where I think I added the ambiguous branch.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…