码迷,mamicode.com
首页 > 其他好文 > 详细

Solving GitHub FetchHead (MergeConflict) in Visual Studio 2013

时间:2015-04-29 11:26:12      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:

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

 

技术分享

 

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.

Solving GitHub FetchHead (MergeConflict) in Visual Studio 2013

标签:

原文地址:http://www.cnblogs.com/yyj/p/4465322.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!