git: pull is not possible because you have unmerged files.

Posted Posted by Wes in Version Control     Comments No comments
Jul
1

I saw this error message the other day and I had no clue what it meant. I’d never seen that error before!

For reference, I was trying to pull from a remote branch and got the error message:

Pull is not possible because you have unmerged files.

A google search revealed this commit (d38a30df7dd54c5c6883) to the git source on January 12, 2010.

The error messages have been updated to be much clearer. Before, you’d get “needs merge” or “error building trees” errors, which didn’t really mean much.

In this case, I was pulling in many commits and had a conflict partway through. I just needed to resolve the files, add/delete them, commit the result and then continue with the pull.

Post comment

about databasically

We live and work in Kansas City, USA.

We're passionate about helping small businesses succeed and want to help you use technology to get more done.

From server, desktop, network management to programming custom web applications in Ruby on Rails, we're here to lend a hand.

Contact us if you have any questions!