git cancel merge when entering commit message code example
Example: Please enter a commit message
To edit or add a commit message when git is using your default editor:
For Vi or Vim
1. Press "i" (for insert mode)
2. Write your message
3. Press esc (escape insert mode)
4. Press ":wq" (write & quit)
5. Press enter