Undo last local (not pushed) commit:
$ git reset --soft HEAD~1

Leave a Reply