Today with git commit-m "comment" submitted, the comments were wrong, so the various search data began and git bash vim entanglement ... (Online information I really did not operate successfully, but finally found out)
Start with the git commit--amend command, (which modifies the last-submitted comment) and goes to the VIM editor
Then you will find in the editor how you do not respond to input, this is because vim in the non-editable state, press the letter key C, at this time into the editing state, you can start to modify the annotation information
And then you'll find out why you can't get out, back to the shell, and then operate as follows: ESC--"Exit the editing state, then press two times the capital letter key Z, then you will be pleasantly surprised to find, finally saved good exit!"
Windows system, pro-Test effective!! Take It away!
Modify the comment information for the last commit of git commit and how to exit the Git bash vim editor