]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-filter-branch.txt
Merge git://git.kernel.org/pub/scm/gitk/gitk
[git.git] / Documentation / git-filter-branch.txt
index 29bb8cec0c34709ef0fab7523be3b0b43c4c43c7..ba9b4fbca79321003f8cda6341d066f9ccc00349 100644 (file)
@@ -180,8 +180,7 @@ A significantly faster version:
 git filter-branch --index-filter 'git update-index --remove filename' HEAD
 --------------------------------------------------------------------------
 
-Now, you will get the rewritten history saved in the branch 'newbranch'
-(your current branch is left untouched).
+Now, you will get the rewritten history saved in HEAD.
 
 To set a commit (which typically is at the tip of another
 history) to be the parent of the current initial commit, in
@@ -220,11 +219,6 @@ git filter-branch --commit-filter '
        fi' HEAD
 ------------------------------------------------------------------------------
 
-Note that the changes introduced by the commits, and not reverted by
-subsequent commits, will still be in the rewritten branch. If you want
-to throw out _changes_ together with the commits, you should use the
-interactive mode of gitlink:git-rebase[1].
-
 The function 'skip_commits' is defined as follows:
 
 --------------------------