From 6426de0a79aa38d6f4f9a2aa71afb212b7395356 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 8 Dec 2014 12:14:21 -0200 Subject: Tell user to remove filter-branch backup on git-rewrite-identity --- git-rewrite-identity | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'git-rewrite-identity') 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" -- cgit v1.2.3