t7501: add test of "commit --dry-run --short"
[gitweb.git] / Documentation / git-filter-branch.txt
index aae02533790a7af795dad851e5512e1bff84c4cb..e6f08ab189489ec1631169d0ad0b190428883235 100644 (file)
@@ -288,7 +288,7 @@ git filter-branch --parent-filter \
 or even simpler:
 
 -----------------------------------------------
-echo "$commit-id $graft-id" >> .git/info/grafts
+git replace --graft $commit-id $graft-id
 git filter-branch $graft-id..HEAD
 -----------------------------------------------