{"thread":{"id":"21919","subject":"Delete particular file contents from complete history","startedAt":"2009-12-09T18:01:17Z","lastAt":"2009-12-09T21:50:52Z","messageCount":2,"participants":["Patrick Grimard","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"129654","messageId":"9cdb17250912091001u362ce64fybe3d554304cbc445@mail.gmail.com","threadId":"21919","inReplyTo":null,"subject":"Delete particular file contents from complete history","fromName":"Patrick Grimard","fromEmail":"pgrimard@gmail.com","sentAt":"2009-12-09T18:01:17Z","receivedAt":"2009-12-09T18:01:17Z","isPatch":false,"sender":{"key":"pgrimard@gmail.com","avatar":null},"body":"Is there some way to remove from the entire history a particular\nfile's content?  So for example I did an initial commit which\ncontained a file I didn't want in the commit and since then I've\ncommitted further changes to the project, even started a branch to\nexperiment with some additional features.  I don't want to lose any of\nmy new commits or branch, just want to remove a particular file's\ncontent from the entire history.\n\nThanks.\n"},{"id":"293752","messageId":"20091209215052.GG4114@genesis.frugalware.org","threadId":"21919","inReplyTo":"9cdb17250912091001u362ce64fybe3d554304cbc445@mail.gmail.com","subject":"Re: Delete particular file contents from complete history","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2009-12-09T21:50:52Z","receivedAt":"2009-12-09T21:50:52Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Wed, Dec 09, 2009 at 01:01:17PM -0500, Patrick Grimard <pgrimard@gmail.com> wrote:\n> Is there some way to remove from the entire history a particular\n> file's content?\n\nDid you read man git-filter-branch? Looks like the first example does\nwhat you need.\n"}]}