Skip to content

Commit 1098680

Browse files
committed
Merge pull request #249 from loganhasson/master
Fix order of `git rm` options
2 parents d44a707 + 5952564 commit 1098680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/10-git-internals/sections/maintenance.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ To do so, you use `filter-branch`, which you used in <<_rewriting_history>>:
288288
[source,console]
289289
----
290290
$ git filter-branch --index-filter \
291-
'git rm --cached --ignore-unmatch git.tgz' -- 7b30847^..
291+
'git rm --ignore-unmatch --cached git.tgz' -- 7b30847^..
292292
Rewrite 7b30847d080183a1ab7d18fb202473b3096e9f34 (1/2)rm 'git.tgz'
293293
Rewrite dadf7258d699da2c8d89b09ef6670edb7d5f91b4 (2/2)
294294
Ref 'refs/heads/master' was rewritten

0 commit comments

Comments
 (0)