Amend commit message
What
When you type too fast, you may make a mistake on your commit message and want to edit it before you push it
How
This will open a VI/ Vim
editor where you can make your changes
How to use and exit vim
To edit, press i
then you can type
To exit vim, press esc
then type wq!
and press enter
Once done, you can git push
as usual
Want to make this site better? Open a PR or help fund hosting costs