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.

 

 

image

 

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: http://msdn.microsoft.com/en-us/library/vstudio/dd286572.aspx#commands

 

image

 

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

 

image

 

After removing these files and entering the commands:

git stash

git pull

The error was resolved.

4 Comments

  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 *