Add the --force flag to second filter-branch run master
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 9 Jun 2023 20:27:25 +0000 (16:27 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 9 Jun 2023 20:27:25 +0000 (16:27 -0400)
since it will already have the backup by then.

README.md

index 280c99e..86f8e41 100644 (file)
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ $ git log --pretty=format: --name-status \
     | sort -u > /tmp/tree.old
 $ git ls-tree -r --name-only HEAD > /tmp/tree.new
 $ git filter-branch \
+    --force \
     --prune-empty \
     --index-filter '
         grep -Fvxf /tmp/tree.new /tmp/tree.old \
This page took 0.035988 seconds and 4 git commands to generate.