tags:

views:

1807

answers:

2

After I merged a file in Git I tried to pull the repository but error came up:

You have not concluded your merge. (MERGE_HEAD exists)

How does one conclude a merge?

+8  A: 

Check status (git status) of your repository. Every unmerged file (after you resolve conficts by yourself) should be added (git add), and if there is no unmerged file you should git commit

MBO
+2  A: 

See the example starting with "After a merge" in the EXAMPLES section of the git-commit documentation. It walks through adding each of the conflicting files to the index, then using commit to finish the unreconciled merge.

You can use git ls-files -u to see which files git is waiting for you to resolve.

seh