Re: Ambiguous 'HEAD' issue.
- From
- Caglar Akyuz <caglar.akyuz@sparsetechnology.com>
- Date
- Aug 29, 2022, 06:57 UTC
- Message-ID
- <AM0PR08MB432341F2A27E1133C7A31DEBFD769@AM0PR08MB4323.eurprd08.prod.outlook.com>
- In-Reply-To
- <xmqqsflfr1y0.fsf@gitster.g>
From: Junio C Hamano <jch2355@gmail.com> on behalf of Junio C Hamano <gitster@pobox.com> Sent: Monday, August 29, 2022 9:36 AM To: Caglar Akyuz <caglar.akyuz@sparsetechnology.com> Cc: git@vger.kernel.org <git@vger.kernel.org> Subject: Re: Ambiguous 'HEAD' issue.
>Caglar Akyuz <caglar.akyuz@sparsetechnology.com> writes:
>> * find . -name HEAD | grep -v modules -> only .git/logs/HEAD and .git/HEAD
>plus "grep HEAD .git/packed-refs"
This is empty as well.
>> * git branch -a | grep HEAD -> nothing
>>plus "git for-each-ref | grep HEAD"
This is empty output also.
Both 'grep HEAD .git/packed-refs' and 'git for-each-ref | grep HEAD' commands return nothing and still 'git status' is complaining about ambiguous HEAD.
Thanks, Caglar