when I enter git commit -a in Git Bash, the editor appears. When enter esc, the screen blinks, but I do not leave. I tried all the other commands from git commit -a confusion, but I cannot leave.
If I close the editor and reopen the bash, all the commands in the cash went (with top arrow) and also the pointer to the working directory is destroyed.
Is it possible to use git commit -a <filename> and then push ? I will set git to write a default msg.
You can specify a message with
-m:Or change your editor to something you find easier to use:
Or with vi, just hit
O, type your message, hit<esc>and then:wq.