We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a473445 commit e4d594cCopy full SHA for e4d594c
Documentation/git-filter-branch.txt
@@ -177,6 +177,10 @@ or copyright violation) from all commits:
177
git filter-branch --tree-filter 'rm filename' HEAD
178
-------------------------------------------------------
179
180
+However, if the file is absent from the tree of some commit,
181
+a simple `rm filename` will fail for that tree and commit.
182
+Thus you may instead want to use `rm -f filename` as the script.
183
+
184
A significantly faster version:
185
186
--------------------------------------------------------------------------
0 commit comments