From: Caglar Akyuz Date: Sun, 28 Aug 2022 08:31:56 GMT Subject: Re: Ambiguous 'HEAD' issue. Message-ID: In-Reply-To: From: Felipe Contreras Sent: Sunday, August 28, 2022 4:00 AM To: Caglar Akyuz Cc: git@vger.kernel.org Subject: Re: Ambiguous 'HEAD' issue.   On Sat, Aug 27, 2022 at 5:15 PM Caglar Akyuz 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