Jim*_*lum 63 git conflict visual-studio visual-studio-2013
我在Visual Studio中使用Git.当我尝试同步时,会出现以下消息:
发生错误.详细消息:libgit2引发了一个错误.Cetegory =结账(MergeConflict).1冲突阻止结账
我不知道冲突是什么以及如何解决它们.任何人都可以帮我解决这个问题吗?
Mak*_*aks 53
我通过在Visual Studio中使用Git命令提示符解决了同样的问题,因为它为您提供了更多功能:
http://msdn.microsoft.com/en-us/library/vstudio/dd286572.aspx
您也可以安装此扩展程序以便于使用它(它使您无法每次都输入密码):
http://gitcredentialstore.codeplex.com/
然后我使用了这个命令:
git pull // I got an error on this step
git stash
git pull
Run Code Online (Sandbox Code Playgroud)
有关命令的更多信息:
http://git-scm.com/docs/git-pull
http://git-scm.com/book/en/Git-Tools-Stashing
http://git-scm.com/docs/git-commit
正如CharlesB所说,这是由于"你的变化与另一个分支的变化之间的冲突".
| 归档时间: |
|
| 查看次数: |
55064 次 |
| 最近记录: |