summaryrefslogtreecommitdiff
path: root/scripts/rewrite-git
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rewrite-git')
-rwxr-xr-xscripts/rewrite-git8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/rewrite-git b/scripts/rewrite-git
new file mode 100755
index 0000000..b48ba4d
--- /dev/null
+++ b/scripts/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