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

Re: [PATCH] Minor clarifications to git-filter-branch usage and doc

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 17, 2007, 21:53 UTC
Message-ID
<Pine.LNX.4.64.0708172252440.20400@racer.site>
In-Reply-To
<20070817212359.GA14197@Hermes.local>
Hi,
On Fri, 17 Aug 2007, Brian Gernhardt wrote:
> -USAGE="git-filter-branch [-d TEMPDIR] [FILTERS] DESTBRANCH [REV-RANGE]"
> +USAGE="git-filter-branch [-d TEMPDIR] [FILTERS] [BRANCHES]"

It is not just [BRANCHES]. Something like "HEAD~2..HEAD" is perfectly valid, and it will rewrite only the commits in that range, leaving HEAD~2 and ancestors alone.

Ciao, Dscho

Previous: Brian GernhardtNext: Brian Gernhardt
Message 2 of 4 in “Minor clarifications to git-filter-branch usage and doc”
  1. Minor clarifications to git-filter-branch usage and docBrian Gernhardt, Aug 17, 2007
  2. Johannes SchindelinAug 17, 2007
  3. Minor clarifications to git-filter-branch usage and docBrian Gernhardt, Aug 17, 2007
  4. Junio C HamanoAug 17, 2007

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.