Solving GitHub FetchHead (MergeConflict) in Visual Studio 2013

I was getting the error:

An error occurred. Detailed message: An error was raised by libgit2. Category = FetchHead (MergeConflict).
3 conflicts prevent checkout.





To resolve this problem, I installed the 3rd-party Git command prompt tools, then you can open a Windows git command prompt from Visual Studio 2013:




When I entered the command: git pull, I got the real error cause:




After removing these files and entering the commands:

git stash

git pull

The error was resolved.


  1. ganesh

    C:\Users\xsiganesh\Source\Repos\paysystem1.0\PaySystem1.0>git pull
    ‘git’ is not recognized as an internal or external command,
    operable program or batch file.

Leave a Reply

Your email address will not be published. Required fields are marked *