11.19.2013

git warning: refname 'HEAD' is ambiguous solved.

I had used Git on my local repository with bitbucket.
And my Sourcetree(GUI for Git) and XCode sourcecontrol was weird as making warning.
or not working well.

As the searching result, It is caused by same name HEAD.




Check your repository. (in your .git repository folder)

$ git show-ref
refs/heads/HEAD
refs/heads/master
refs/remotes/origin/HEAD
refs/remotes/origin/master


There is two HEAD.
You can change the name using below commend. 


$ git branch -m HEAD LocalHead

Or

$git branch -D HEAD

It is OK. You don't need to have HEAD repository on Local. (It made and work by itself in behind)



간단하죠? 

2 comments:

Shivani Bisht said...

Great blog, we also share UK Dedicated Server Hosting info so are you looking one of the best UK Dedicated Server visit this link.

Unknown said...

Why casinos are rigged - Hertzaman - The Herald
In the UK, casino games are rigged herzamanindir and wooricasinos.info there is evidence of fraud, crime or disorder or an goyangfc.com individual's https://febcasino.com/review/merit-casino/ involvement. sol.edu.kg There are also many