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

Re: git reflog delete / manpage confusion

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jul 1, 2010, 13:09 UTC
Message-ID
<4C2C9395.1080900@drmicha.warpmail.net>
In-Reply-To
<AANLkTilaKwB1BYTNIJ49M0CZAJGrsPetQDOxZj_RHRv3@mail.gmail.com>
Mahesh Vaidya venit, vidit, dixit 01.07.2010 12:58:
> Hi I am confused again as it indeed removed HEAD{4}
> 
>  -2993260 HEAD@{4}: commit (initial)

It didn't, that's what Jeff explained and what the content of .git/logs/HEAD showed (which you chose to cut; also, please don't top-post).

It really deleted the line for 364bcc0, but when showing the reflog git mistakenly shows 364bcc0 rather than 2993260 (for the new HEAD{@3}) in this case.

Michael
Previous: Mahesh Vaidya
Message 4 of 4 in “git reflog delete / manpage confusion”
  1. Mahesh VaidyaJul 1, 2010
  2. Jeff KingJul 1, 2010
  3. Mahesh VaidyaJul 1, 2010
  4. Michael J GruberJul 1, 2010

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.