Git a very useful version control system. While working on Git, you should face some problem that kills you few mins to study and solve. Sometimes we got this error message (Source Tree pull You have not concluded your merge (MERGE_HEAD exists)?) while we are working with any Git command. It’s a weird issue and sometimes very dangerous. Here I have shared very short tips to overcome this problem.
Why It happened?
It happened because your last pull failed to merge automatically and it became conflict state. And without fixing the conflict before next pull or push, you will see this error.
What’s the solutions?
Error: You Have Not Concluded Your Merge (merge_head exists) problem, there is a simple solutions. Follow these steps –
- Undo the merge and again pull
Run the following command to undo the merge.
git merge --abort(since git version 1.7.4)
git reset --merge(prior git version)
- Resolve the conflict
To resolve conflict using command line, you can follow this tutorial.
- Add & commit the merge
To add run
git add .
and to commit run
git commit -m "commit message"
- Pull again
Now git pull should work without error. To pull again, run
Hope, this will help you to solve your problem of error: you have not concluded your merge (merge_head exists). Please leave a comment for others if this solutions works or not!