Adding a git commit message using vi on macOS

Edson Junior de Andrade - Dec 9 '22 - - Dev Community

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
. . . . . . . . . . . . . . . . . . . . .
Terabox Video Player