What to do after typing in commit message for git?

Curyous picture Curyous · Feb 19, 2011 · Viewed 31.2k times · Source

After I type in git commit -a a text editor pops up and I type in my comment. What buttons do I have to press after typing in the comment, to get it to move to the next stage of actually committing?

I'm using mysysGit on Windows with the default setup.

Answer

Nicholas Riley picture Nicholas Riley · Feb 19, 2011

Save the file and exit your editor.