Skip to content

Commit 8ef4451

Browse files
dschospearce
authored andcommitted
fix filter-branch documentation
The man page for filter-branch still talked about writing the result to the branch "newbranch". This is hopefully the last place where the old behaviour was described. Noticed by Bill Lear. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent 7e23b06 commit 8ef4451

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Documentation/git-filter-branch.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ A significantly faster version:
180180
git filter-branch --index-filter 'git update-index --remove filename' HEAD
181181
--------------------------------------------------------------------------
182182

183-
Now, you will get the rewritten history saved in the branch 'newbranch'
184-
(your current branch is left untouched).
183+
Now, you will get the rewritten history saved in HEAD.
185184

186185
To set a commit (which typically is at the tip of another
187186
history) to be the parent of the current initial commit, in

0 commit comments

Comments
 (0)