0

i have these errors while pulling in Git

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

amd my name in the git command line appears like that (master|MER GING)

CoderTn
  • 87
  • 1
  • 2
  • 12
  • Assuming you want to continue with the merge: Search your IDE for <<<< or >>>> and make sure all merge conflicts are resolved. Once your code looks correct, commit all files (`git add -A`), then commit (`git commit -m '[commit message here]'`). Then you should be good to proceed – Ally Ripp Apr 30 '18 at 16:28
  • 1
    Possible duplicate of [You have not concluded your merge (MERGE\_HEAD exists)](https://stackoverflow.com/questions/11646107/you-have-not-concluded-your-merge-merge-head-exists) – phd Apr 30 '18 at 17:45

1 Answers1

8

Undo merge and pull again To undo:

git reset --merge

Then resolve the conflicts and make sure to add and commit the merge

Mustahsan
  • 3,370
  • 1
  • 11
  • 27