Re: removing content from git history
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- Oct 9, 2007, 21:02 UTC
- Message-ID
- <20071009210235.GB9633@fieldses.org>
- In-Reply-To
- <18187.60305.613904.547916@lisa.zopyra.com>
On Tue, Oct 09, 2007 at 03:58:57PM -0500, Bill Lear wrote:
Show 10 quoted lines
> As I understand this thread, it does not appear that a resolution > was reached. Our company has content in our central git repository > that we need to remove per a contractual obligation. I believe the > content in question is limited to one sub-directory, that has existed > since (or near to) the beginning of the repo, if that matters. We > obviously would just like to issue a "git nuke" operation and be done > with it, if that is available. Barring that, we could probably follow > reasonably simple steps to purge the content and rebuild the repo. > > So, what options do we have at present?
Have you looked at git-filter-branch in a recent version of git? The man page has some good examples.
--b.