I got this screen. I have 2 queries first, if you get this screen then how I can go back to the normal git prompt? 2nd how this error will be removed??
Asked
Active
Viewed 55 times
1 Answers
0
This is not an error. It's asking for a commit message. To enter a message on the first line, type i
to go into insert mode, enter some text, hit escape
, then type :x
and enter.
You can bypass the prompt for a commit message by using the -m
flag, as in git commit -m 'changed some code'
.
This explains what a commit is, and this explains how to change your configuration to use a different editor (that's Vim; you might want to use nano
or something else).

Zac Anger
- 6,983
- 2
- 15
- 42