How to undo a commit and redo? →
Here is how
git commit ...
$ git reset --soft HEAD^
$ edit
$ git commit -a -c ORIG_HEAD
Code in Design is the personal website of William Notowidagdo, where he blogs, infrequently, on various web development geekery. He works for Kiranatama, a Ruby on Rails outsourcing company.
Here is how
git commit ...
$ git reset --soft HEAD^
$ edit
$ git commit -a -c ORIG_HEAD