I created these small git commands to help make exploring commits and editing them easier.
The first set of commands, git uc
(Undo Commit) and git rc
(Redo Commit), will undo a commit while saving the commit message and keeping the changes staged, so you can make changes to the commit and re-perform the commit while having the original commit message restored. Example:
$ git uc
...make edits to staged changes...
$ git rc
...update commit message, original one is loaded into editor...