How to conclude your merge of a file?

Viewed 184536

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?

5 Answers

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

I just did:

git merge --continue

At which point vi launched to edit a merge comment. A quick :wq and the merge was done.

Related