How to save a git commit message from windows cmd?
git, git-commit
Solution
You are inside vim. To save changes and quit, type:
<esc> :wq <enter>
That means:
- Press Escape. This should make sure you are in command mode
- type in `:wq`
- Press Return
An alternative that stdcall in the comments mentions is:
- Press Escape
- Press shift+Z shift+Z (capital `Z` twice).
Problem
I run git from the command line. How does one save the commit message? I mean what keys should I press to go past this screen: