Ambiguous 'HEAD' issue.
- From
- Caglar Akyuz <caglar.akyuz@sparsetechnology.com>
- Date
- Aug 27, 2022, 20:42 UTC
- Message-ID
- <AM0PR08MB4323160241D4341FB1B99CC2FD749@AM0PR08MB4323.eurprd08.prod.outlook.com>
Hello,
Recently I changed one of my repo's origin URL from gitlab to github. After this switch, I start getting:
warning: refname 'HEAD' is ambiguous.
messages when I use 'git status'. I check various things if I have tags/branches to blame but cannot find anything:
* git show-ref | grep -i head -> nothing suspicious
* find . -name HEAD | grep -v modules -> only .git/logs/HEAD and .git/HEAD
* git branch -a | grep HEAD -> nothing
Do you have any suggestions for a possible fix to this?
Thanks, Caglar