How to quit this comment in Git Bash

2.6k Views Asked by At

enter image description here

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?

1

There are 1 best solutions below

0
myx4play On BEST ANSWER

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.