summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a473445)
raw | patch | inline | side by side (parent: a473445)
author | Jon Loeliger <jdl@jdl.com> | |
Fri, 16 May 2008 19:43:50 +0000 (14:43 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 May 2008 20:13:24 +0000 (13:13 -0700) |
Signed-off-by: Jon Loeliger <jdl@jdl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-filter-branch.txt | patch | blob | history |
index 6454e49bf2805fcf0a000ed6f96ff9f73d718299..4a530965ec189606638d8ae00fc6eab5cdedf9c6 100644 (file)
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:
--------------------------------------------------------------------------