http://stackoverflow.com/questions/4850717/how-to-cancel-a-local-git-commit How to cancel a local git commit