Quick! Let’s learn some minimal vi commands!

In a Vim editor:

  • press i to go into insert mode, start typing your text
  • press Esc to go back to normal mode
  • then write the file and quit with :wq + <Enter>

Congratulations. You have joined the great fraternity of people who know this ancient, revered text editor.

These are the essential commands you will need to get started with git commit messages.

Additional reading: