Skip to content

Commit 029c775

Browse files
committed
Fix commit reference
1 parent 8bec621 commit 029c775

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
@@ -300,7 +300,7 @@ Rather than remove a specific file with something like `rm file`, you have to re
300300
The reason to do it this way is speed – because Git doesn't have to check out each revision to disk before running your filter, the process can be much, much faster.
301301
You can accomplish the same task with `--tree-filter` if you want.
302302
The `--ignore-unmatch` option to `git rm` tells it not to error out if the pattern you're trying to remove isn't there.
303-
Finally, you ask `filter-branch` to rewrite your history only from the `6df7640` commit up, because you know that is where this problem started.
303+
Finally, you ask `filter-branch` to rewrite your history only from the `7b30847` commit up, because you know that is where this problem started.
304304
Otherwise, it will start from the beginning and will unnecessarily take longer.
305305

306306
Your history no longer contains a reference to that file.

0 commit comments

Comments
 (0)