Revert the most recent commit
git revert HEAD
Then it will show the editor in terminal where I can (optionally) type in a customized message (if I do, once I’m done, hit ESC button), then when ready to commit the reversion type:
:wq
Last updated
git revert HEAD
Then it will show the editor in terminal where I can (optionally) type in a customized message (if I do, once I’m done, hit ESC button), then when ready to commit the reversion type:
:wq
Last updated