]> git.phdru.name Git - git-scripts.git/commitdiff
Add `filter-branch-all` master
authorOleg Broytman <phd@phdru.name>
Tue, 25 Jun 2024 23:31:00 +0000 (02:31 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 25 Jun 2024 23:31:00 +0000 (02:31 +0300)
filter-branch-all [new file with mode: 0755]

diff --git a/filter-branch-all b/filter-branch-all
new file mode 100755 (executable)
index 0000000..6a4abb3
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+# Just a reminder how to properly run `git filter-branch --all`
+
+FILTER_BRANCH_SQUELCH_WARNING=1 exec git filter-branch \
+    --tag-name-filter cat "$@" -- --branches --tags
+