git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Ambiguous 'HEAD' issue.

From
CACaglar 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

Previous: Junio C HamanoNext: Jeff King
Message 5 of 7 in “Ambiguous 'HEAD' issue.”
  1. Caglar AkyuzAug 27, 2022
  2. Felipe ContrerasAug 28, 2022
  3. Caglar AkyuzAug 28, 2022
  4. Junio C HamanoAug 29, 2022
  5. Caglar AkyuzAug 29, 2022
  6. Jeff KingSep 8, 2022
  7. Johannes SixtSep 8, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.