1

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?

5
  • 5
    Press Esc and then enter :x. This is vim which is a text editor used to edit the merge commit message. Commented Dec 5, 2018 at 12:05
  • yes,you are right.I tried to pull from master branch and then this phenomenon is occurred,message is appeared : merge in not finished ,but I can't know what is the unmerged and how to solve this problem. I hope your help. Commented Dec 5, 2018 at 12:11
  • This might help stackoverflow.com/questions/161813/… Commented Dec 5, 2018 at 12:12
  • Thanks for your help! Commented Dec 5, 2018 at 12:13
  • google.com/… Commented Dec 5, 2018 at 12:42

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.