Re: Delete a commit
- From
Johan 't Hart <johanthart@gmail.com>
- Date
- Dec 21, 2009, 17:49 UTC
- Message-ID
- <hgocfi$pge$1@ger.gmane.org>
- In-Reply-To
- <20091220004340.GA30440@marge.bs.l>
Bertram Scharpf schreef:
> Hi,
> % git fsck --lost-found > dangling commit 6abc221327e896c850c56dafae92277bcfe68e2b > > It is still there. This is the one I want to delete.
It is not in the history of any head anymore, so you could consider it deleted. ('git log' does not show this commit)
If you want to prune unreferenced objects, try: git prune
('git help prune' for options)> Bertram > >