DEV Community

Cover image for Adding a git commit message using vi on macOS
Edson Junior de Andrade
Edson Junior de Andrade

Posted on

Adding a git commit message using vi on macOS

You must have already gone through the situation of having entered vi at the time of a commit and not knowing how to finalize it, below I leave a sequence that will help you with that

1 - Type i
2 - Write your message
3 - Type the ESC key
4 - Type :wq

DONE!
Enter fullscreen mode Exit fullscreen mode

Top comments (0)