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

Re: Delete particular file contents from complete history

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 9, 2009, 21:50 UTC
Message-ID
<20091209215052.GG4114@genesis.frugalware.org>
In-Reply-To
<9cdb17250912091001u362ce64fybe3d554304cbc445@mail.gmail.com>
On Wed, Dec 09, 2009 at 01:01:17PM -0500, Patrick Grimard <pgrimard@gmail.com> wrote:
> Is there some way to remove from the entire history a particular
> file's content?

Did you read man git-filter-branch? Looks like the first example does what you need.

Previous: Patrick Grimard
Message 2 of 2 in “Delete particular file contents from complete history”
  1. Patrick GrimardDec 9, 2009
  2. Miklos VajnaDec 9, 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.