]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Tell user to remove filter-branch backup on git-rewrite-identity
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Dec 2014 14:14:21 +0000 (12:14 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Dec 2014 14:14:21 +0000 (12:14 -0200)
git-rewrite-identity

index 0e79fd74db762fa2897528246d90c9454ab8f013..3a8831d60e0a57e20a4d43401a3219dfe4706a3c 100755 (executable)
@@ -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"