Merge branch 'maint'

* maint:
  git-filter-branch: Clarify file removal example.
maint
Junio C Hamano 2008-05-16 22:10:13 -07:00
commit 6d2c1c2dc0
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ or copyright violation) from all commits:
git filter-branch --tree-filter 'rm filename' HEAD
-------------------------------------------------------

However, if the file is absent from the tree of some commit,
a simple `rm filename` will fail for that tree and commit.
Thus you may instead want to use `rm -f filename` as the script.

A significantly faster version:

--------------------------------------------------------------------------