如何删除Microsoft Git Provider? [英] How do you remove Microsoft Git Provider?
问题描述
我遇到了一个VS2013的问题,我连接到了我的visual studio在线帐户,并且使用TFS源代码控制,直到我安装了Git。现在看起来,即使在我手动将其更改回TFS之后,Microsoft Git Provider仍会覆盖我的源代码控制设置,或者无法使用TFS。所以现在我只想把它们一起移除。我试着卸载所有与Git相关的东西,但它仍然存在。我甚至完全卸载了VS2013,然后重新安装了,它仍然存在。
更新2:
这里有一个扩展,它禁用MS Git提供者打开git解决方案:
http://visualstudiogallery.msdn.microsoft.com/146b404a-3c91-46ff-932a-fb0f8b826f94
该解决方案似乎不再适用(也在博客文章中提到):
对于运行到本文并希望禁用的解决方案由于其他原因(性能或文件只读为Resharper进行重构),我确实遇到了这个注册表骇客以永久移除MS GIT源代码控制提供者:
https://blog.rendle .IO /禁用最GIT-源程序e-control-add-in-in-vs2013-permanent /
tl; dr:
-
关闭VS2013 ,然后删除这个完整的密钥(或者在它下面有一个GitSCCProvider值的密钥):
-
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\SourceControlProviders\ {11b8e6d7-C08B-4385-b321-321078cdd1f8}
-
在注册表中搜索相同的GUID
11b8e6d7-c08b-4385-b321-321078cdd1f8
并删除这些值或输入
。
编辑:
$ b
如果您需要使用TFS GIT存储库以及团队资源管理器中的相关信息(如构建等),请勿删除GIT SCC提供程序,因为它也会中断。
I'm having an issue with VS2013 which I had connected to my visual studio online account, and was using TFS source control just fine up until I installed Git. Now it seems that "Microsoft Git Provider" keeps overriding my settings for source control even after I manually change it back to TFS, or none then TFS. So now I just want to remove it all together. I tried uninstalling everything Git related, but it still remains. I even uninstalled VS2013 completely, then reinstalled, and it's still there.
Update 2:
Here's an extension that disables MS Git provider on opening a git solution: http://visualstudiogallery.msdn.microsoft.com/146b404a-3c91-46ff-932a-fb0f8b826f94
The solution doesn't seem to work anymore (as also mentioned in the blog post):
For the ones running into this article and wanting to disable the provider for other reasons (performance or files being read-only for refactoring by Resharper), I did run into this registry hack to permanently remove the MS GIT source control provider:
https://blog.rendle.io/disable-the-git-source-control-add-in-in-vs2013-permanently/
tl;dr:
close VS2013 then delete this whole key (or the one with a GitSCCProvider value under it):
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\SourceControlProviders\{11b8e6d7-c08b-4385-b321-321078cdd1f8}
Search the registry for the same GUID
11b8e6d7-c08b-4385-b321-321078cdd1f8
and remove those values or entries too.
Edit:
if you need to use a TFS GIT repository and related information from Team Explorer (like builds, etc), don't delete the GIT SCC provider because that will break too.
这篇关于如何删除Microsoft Git Provider?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!