diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-07-24 04:03:33 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-07-24 04:03:33 +0000 |
commit | ccc2f7606414a57fc7f34d2f88f8fb2246918d6d (patch) | |
tree | 086aa0acaa44a0fadc1de3344e5121f865623f32 /git-filter-branch.txt | |
parent | 0868a302deebe5253106fdf9af00c82e2c711e66 (diff) | |
download | git-htmldocs-ccc2f7606414a57fc7f34d2f88f8fb2246918d6d.tar.gz |
Autogenerated HTML docs for v1.6.0-rc0-42-g186458
Diffstat (limited to 'git-filter-branch.txt')
-rw-r--r-- | git-filter-branch.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-filter-branch.txt b/git-filter-branch.txt index a3edc0024..7ba9dab5e 100644 --- a/git-filter-branch.txt +++ b/git-filter-branch.txt @@ -191,7 +191,7 @@ Thus you may instead want to use `rm -f filename` as the script. A significantly faster version: -------------------------------------------------------------------------- -git filter-branch --index-filter 'git update-index --remove filename' HEAD +git filter-branch --index-filter 'git rm --cached filename' HEAD -------------------------------------------------------------------------- Now, you will get the rewritten history saved in HEAD. |