summaryrefslogtreecommitdiff
path: root/scripts/desktop/rewrite-git
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-05-28 14:24:58 -0400
committerAndrew Opalach <andrew@akon.city> 2025-05-28 14:24:58 -0400
commita28487fe6fbac72c7b1a752acab42dcc6ab46476 (patch)
treec3b1b9b751dd5e96b4afc835decf14ce38fd35f8 /scripts/desktop/rewrite-git
parent75ad6c3fcad1f19c4f4f5c345fbb43ce80d9c461 (diff)
downloaddotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.tar.gz
dotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.tar.bz2
dotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.zip
Post server fs corruption
Diffstat (limited to 'scripts/desktop/rewrite-git')
-rwxr-xr-xscripts/desktop/rewrite-git8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/desktop/rewrite-git b/scripts/desktop/rewrite-git
new file mode 100755
index 0000000..b48ba4d
--- /dev/null
+++ b/scripts/desktop/rewrite-git
@@ -0,0 +1,8 @@
+#! /usr/bin/env sh
+git filter-branch --commit-filter '
+ GIT_AUTHOR_NAME="Andrew Opalach";
+ GIT_AUTHOR_EMAIL="andrew@akon.city";
+ GIT_COMMITTER_NAME="Andrew Opalach";
+ GIT_COMMITTER_EMAIL="andrew@akon.city";
+ git commit-tree -S "$@";
+' HEAD