While I use Git Bash ,I encountered this phenomenon,but I can't return command terminal. How to solve this problem and what is the reason such phenomenon is occurred?
press esc
then :q!
to exit vim without save.
and next time try to pull
or merge
with option --no-edit
to commit without changing its commit message.