If you ever get stuck by using git command line it can be really annoying to exit if you don't know how. So when this happened most likely you are not git any more but in Vim!
If you see message like this: "please enter a commit message ..." here is what you can do:
To exit terminal type:
If you see message like this: "please enter a commit message ..." here is what you can do:
To exit terminal type:
:quit <press enter>
or
:wq <press enter>
or
<esc> :wq <press enter>
or you can use this:
- press "i"
- write your merge message
- press "esc"
- write ":wq"
- then press enter