昆明光标科技有限公司

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.

posted @ 2015-04-29 10:50  杨义金  阅读(653)  评论(0编辑  收藏  举报
昆明光标科技有限公司