I am not able to write git commit message. I want to write
Fixes issue #10 - one line description of changes
I am not able to type anything inside git console. It does not take any keystrokes that I type in.
This editor seems to be a variant of vim. Initially you are not in edit mode, to be able to input stuff press the i
key to enter input mode. This allows you to type whatever you want.
After entering your message you need to hit esc
to exit input mode. Then you need to issue a command to save and close, which can be done by typing :wq
. :
means the start of the command. w
is used for saving (write) and the q
let's you quit the editor.
Alternatively it is also possible to write a commit message without using this editor as the other answer explains.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With