{"thread":{"id":"11891","subject":"git-tag HEAD","startedAt":"2008-02-05T04:24:00Z","lastAt":"2008-02-07T12:13:24Z","messageCount":4,"participants":["Ramagudi Naziir","Sean","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"67478","messageId":"dfb262380802042024p49bfb0c3v689946dba350ac01@mail.gmail.com","threadId":"11891","inReplyTo":null,"subject":"git-tag HEAD","fromName":"Ramagudi Naziir","fromEmail":"naziirr@gmail.com","sentAt":"2008-02-05T04:24:00Z","receivedAt":"2008-02-05T04:24:00Z","isPatch":false,"sender":{"key":"naziirr@gmail.com","avatar":null},"body":"Hello everyone,\n\nI accidently executed the command \"git-tag HEAD\" in one of my git repositories.\n\nNow every command I invoke, i.e. \"git-log\", begins with the warning:\n\n\"warning: refname 'HEAD' is ambiguous\"\n\nHow can I fix this situation ? can I undo what I did ?\n\nThank you all in advance,\nNaziir\n"},{"id":"67479","messageId":"BAYC1-PASMTP15D0374A5A075B79E17284AE2C0@CEZ.ICE","threadId":"11891","inReplyTo":"dfb262380802042024p49bfb0c3v689946dba350ac01@mail.gmail.com","subject":"Re: git-tag HEAD","fromName":"Sean","fromEmail":"seanlkml@sympatico.ca","sentAt":"2008-02-05T04:30:10Z","receivedAt":"2008-02-05T04:30:10Z","isPatch":false,"sender":{"key":"seanlkml@sympatico.ca","avatar":"https://gravatar.com/avatar/f92923f54fc08c401fc59b71829d4b89e9b8087fbba45ff87c82e6a83aee02ae?d=mp&s=160"},"body":"On Tue, 5 Feb 2008 06:24:00 +0200\n\"Ramagudi Naziir\" <naziirr@gmail.com> wrote:\n\n\n> I accidently executed the command \"git-tag HEAD\" in one of my git repositories.\n> \n> Now every command I invoke, i.e. \"git-log\", begins with the warning:\n> \n> \"warning: refname 'HEAD' is ambiguous\"\n> \n> How can I fix this situation ? can I undo what I did ?\n> \n\nJust delete the tag...\n\n$ git tag -d HEAD\n\nHTH,\nSean\n"},{"id":"67483","messageId":"dfb262380802042112s324cc7dfx452a540e6bc54473@mail.gmail.com","threadId":"11891","inReplyTo":"BAYC1-PASMTP15D0374A5A075B79E17284AE2C0@CEZ.ICE","subject":"Re: git-tag HEAD","fromName":"Ramagudi Naziir","fromEmail":"naziirr@gmail.com","sentAt":"2008-02-05T05:12:39Z","receivedAt":"2008-02-05T05:12:39Z","isPatch":false,"sender":{"key":"naziirr@gmail.com","avatar":null},"body":"On Feb 5, 2008 6:30 AM, Sean <seanlkml@sympatico.ca> wrote:\n> On Tue, 5 Feb 2008 06:24:00 +0200\n> \"Ramagudi Naziir\" <naziirr@gmail.com> wrote:\n>\n>\n> > I accidently executed the command \"git-tag HEAD\" in one of my git repositories.\n>\n> $ git tag -d HEAD\n\nIs it exactly the same as \"rm .git/refs/tags/HEAD\" ?\n\nThank you Sean.\n\n>\n> HTH,\n> Sean\n>\n>\n"},{"id":"67782","messageId":"20080207121324.GL25954@genesis.frugalware.org","threadId":"11891","inReplyTo":"dfb262380802042112s324cc7dfx452a540e6bc54473@mail.gmail.com","subject":"Re: git-tag HEAD","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-02-07T12:13:24Z","receivedAt":"2008-02-07T12:13:24Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Tue, Feb 05, 2008 at 07:12:39AM +0200, Ramagudi Naziir <naziirr@gmail.com> wrote:\n> > $ git tag -d HEAD\n> \n> Is it exactly the same as \"rm .git/refs/tags/HEAD\" ?\n\nnope, as that won't create a reflog entry and won't work with packed\nrefs. at least i think so :)\n\n- VMiklos\n"}]}