Using WinXP I accidentally typed
git commit -a
git commit -am "My commit message"
, and now I'm viewing my CMD prompt filled with the file version of my commit message ("Please enter the commit message for your..."). I've added my message to the top, but now I can't figure out how to save and leave. I tried to press CTRL
, but it doesn't do anything but add
where the cursor is.
I also tried esc
first, and then CTRL
, but it says
No write since last change (add ! to override)