From: Junio C Hamano <jch2355@xxxxxxxxx> on behalf of Junio C Hamano <gitster@xxxxxxxxx> Sent: Monday, August 29, 2022 9:36 AM To: Caglar Akyuz <caglar.akyuz@xxxxxxxxxxxxxxxxxxxx> Cc: git@xxxxxxxxxxxxxxx <git@xxxxxxxxxxxxxxx> Subject: Re: Ambiguous 'HEAD' issue. >Caglar Akyuz <caglar.akyuz@xxxxxxxxxxxxxxxxxxxx> 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