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

Re: Deleting remote branches with git-branch and reflog questions

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 23, 2007, 15:29 UTC
Message-ID
<200701231529.40362.andyparkins@gmail.com>
In-Reply-To
<Pine.LNX.4.63.0701231558080.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Tuesday 2007 January 23 14:59, Johannes Schindelin wrote:
> You mean, kind of like a waste bin? Where you delete stuff, but come back
> and whine that you did not meant to delete it after all?

No, no; I'm whining that the reflog was deleted, not the branch. I think that "ref deleted" is just as valid for logging as anything else, and deleting the log makes it impossible to view that operation.

Given how powerful the reflog is; it doesn't seem unreasonable to want to be able to do

$ git branch -D some-branch $ git show some-branch@{2 days ago}

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Johannes Schindelin
Message 16 of 16 in “Deleting remote branches with git-branch and reflog questions”
  1. Andy ParkinsJan 23, 2007
  2. Andreas EricssonJan 23, 2007
  3. Andy ParkinsJan 23, 2007
  4. Junio C HamanoJan 23, 2007
  5. Johannes SchindelinJan 23, 2007
  6. Nicolas PitreJan 23, 2007
  7. Johannes SchindelinJan 23, 2007
  8. Junio C HamanoJan 24, 2007
  9. Nicolas PitreJan 24, 2007
  10. Jakub NarebskiJan 24, 2007
  11. Nicolas PitreJan 24, 2007
  12. Johannes SchindelinJan 24, 2007
  13. Jakub NarebskiJan 23, 2007
  14. Andy ParkinsJan 23, 2007
  15. Johannes SchindelinJan 23, 2007
  16. Andy ParkinsJan 23, 2007

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.