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

Re: Delete a commit

From
Pascal Obry <pascal@obry.net>
Date
Dec 20, 2009, 08:37 UTC
Message-ID
<4B2DE24A.7040402@obry.net>
In-Reply-To
<20091220004340.GA30440@marge.bs.l>
Le 20/12/2009 01:43, Bertram Scharpf a écrit :
>   % git fsck --lost-found
>   dangling commit 6abc221327e896c850c56dafae92277bcfe68e2b
> 
> It is still there. This is the one I want to delete.

Well, it is deleted (not accessible from any ref). It will be purged from the repository at some point after a "git gc".

-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Previous: Bertram ScharpfNext: Johan 't Hart
Message 5 of 8 in “Delete a commit”
  1. Bertram ScharpfDec 19, 2009
  2. James P. Howard, IIDec 19, 2009
  3. Johan 't HartDec 20, 2009
  4. Bertram ScharpfDec 20, 2009
  5. Pascal ObryDec 20, 2009
  6. Johan 't HartDec 21, 2009
  7. Andreas SchwabDec 21, 2009
  8. Bertram ScharpfDec 21, 2009

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.