My new favorite git command:
$ git reset --soft HEAD^
This pulls out your most recent commit, putting the changes back into your working tree. It’s exactly like an undo button for whatever you just committed.
My new favorite git command:
$ git reset --soft HEAD^
This pulls out your most recent commit, putting the changes back into your working tree. It’s exactly like an undo button for whatever you just committed.