aboutsummaryrefslogtreecommitdiff
path: root/git-rewrite-identity
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-08 12:14:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-08 12:14:21 -0200
commit6426de0a79aa38d6f4f9a2aa71afb212b7395356 (patch)
treef5ceae45a73851b18f250564ca9af75bdd2740f2 /git-rewrite-identity
parent1a89571a2801986259736234b80e1c9972fd7d22 (diff)
downloadutils-git-6426de0a79aa38d6f4f9a2aa71afb212b7395356.tar.gz
utils-git-6426de0a79aa38d6f4f9a2aa71afb212b7395356.tar.bz2
Tell user to remove filter-branch backup on git-rewrite-identity
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"