aboutsummaryrefslogtreecommitdiff
path: root/git-rewrite-identity
diff options
context:
space:
mode:
Diffstat (limited to 'git-rewrite-identity')
-rwxr-xr-xgit-rewrite-identity4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-rewrite-identity b/git-rewrite-identity
index 0e79fd7..3a8831d 100755
--- a/git-rewrite-identity
+++ b/git-rewrite-identity
@@ -32,3 +32,7 @@ git filter-branch --commit-filter '
git commit-tree "\$@";
fi' HEAD
EOF
+
+# See https://stackoverflow.com/questions/7654822
+echo "Done! Check results and remove the backup once you're ready:"
+echo "git update-ref -d refs/original/refs/heads/master"