You have not concluded your merge (MERGE_HEAD exists)

Posted by

Error:

error: You have not concluded your merge (MERGE_HEAD exists). hint: Please, commit your changes before merging. fatal: Exiting because of unfinished merge.

Solution:

Your previous pull went into conflict status and failed to merge automatically, which is the issue. Also, the disagreement wasn’t adequately settled before the subsequent pull.

  • Undo the merge and pull again.

To undo a merge:

git merge --abort 

git reset --merge 

  • Resolve the conflict.
  • Don’t forget to add and commit the merge.
  • git pull now should work fine.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x