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 28, 2022, 08:31 UTC
Message-ID
<AM0PR08MB4323EAC9ED1F88D5FF680DEFFD779@AM0PR08MB4323.eurprd08.prod.outlook.com>
In-Reply-To
<CAMP44s2iwWhpeBrzuRK5mB9ekpy4MRu5OEQ-BA4mvbUb1EJRqw@mail.gmail.com>
From: Felipe Contreras <felipe.contreras@gmail.com>
Sent: Sunday, August 28, 2022 4:00 AM
To: Caglar Akyuz <caglar.akyuz@sparsetechnology.com>
Cc: git@vger.kernel.org <git@vger.kernel.org>
Subject: Re: Ambiguous 'HEAD' issue. 
 
On Sat, Aug 27, 2022 at 5:15 PM Caglar Akyuz
<caglar.akyuz@sparsetechnology.com> wrote:
>> 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.
>> * git show-ref | grep -i head -> nothing suspicious
> Are you sure? You don't have a ref called "HEAD"? Just "HEAD".
I don't see just "HEAD".  "git show-ref | grep HEAD" doesn't show anything if that's what you mean.

Thanks, Caglar

Previous: Felipe ContrerasNext: Junio C Hamano
Message 3 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.