Re: removing content from git history
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- Feb 21, 2007, 17:17 UTC
- Message-ID
- <20070221171738.GA9112@fieldses.org>
- In-Reply-To
- <20070221165636.GH25559@spearce.org>
On Wed, Feb 21, 2007 at 11:56:36AM -0500, Shawn O. Pearce wrote:
Show 5 quoted lines
> Now this is actually not a huge deal if you do it on your local > repository and go "whoops, I should not have committed that". If you > have not yet pushed the commit to another repository (and someone > has not yet fetched it from you either) you can use git-rebase to > discard it.
Also it can't have done any (non-fast-forward) merges since then.
Reconstructing history with a bunch of merges seems like something that could be a huge pain. (Though with some tools it might be doable.)
--b.