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.html | |
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.html')
-rw-r--r-- | git-filter-branch.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-filter-branch.html b/git-filter-branch.html index 9e255390c..4567d3b2f 100644 --- a/git-filter-branch.html +++ b/git-filter-branch.html @@ -550,7 +550,7 @@ Thus you may instead want to use <tt>rm -f filename</tt> as the script.</p></div <div class="para"><p>A significantly faster version:</p></div>
<div class="listingblock">
<div class="content">
-<pre><tt>git filter-branch --index-filter 'git update-index --remove filename' HEAD</tt></pre>
+<pre><tt>git filter-branch --index-filter 'git rm --cached filename' HEAD</tt></pre>
</div></div>
<div class="para"><p>Now, you will get the rewritten history saved in HEAD.</p></div>
<div class="para"><p>To set a commit (which typically is at the tip of another
@@ -665,7 +665,7 @@ and the git list <git@vger.kernel.org></p></div> </div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-07-06 05:16:46 UTC
+Last updated 2008-07-24 04:02:40 UTC
</div>
</div>
</body>
|