本文介绍了如何删除 Microsoft Git Provider?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 VS2013 时遇到了问题,我已将其连接到我的 Visual Studio 在线帐户,并且在安装 Git 之前一直使用 TFS 源代码控制.现在看来,即使我手动将其更改回 TFS,或者没有然后 TFS,Microsoft Git Provider"似乎仍会覆盖我的源代码控制设置.所以现在我只想把它全部删除.我尝试卸载所有与 Git 相关的东西,但它仍然存在.我什至完全卸载了VS2013,然后重新安装,它仍然存在.

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.

推荐答案

更新 2:

这是在打开 git 解决方案时禁用 MS Git 提供程序的扩展:http://visualstudiogallery.msdn.microsoft.com/146b404a-3c91-46-932a-fb0f8b826f94

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):

对于那些在本文中遇到并且由于其他原因想要禁用提供程序的人(性能或文件被 Resharper 重构为只读),我确实遇到了这个注册表黑客来永久删除 MS GIT 源代码控制提供程序:

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;博士:

  • 关闭 VS2013 然后删除整个密钥(或下面带有 GitSCCProvider 值的密钥):

  • close VS2013 then delete this whole key (or the one with a GitSCCProvider value under it):

HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio12.0_ConfigSourceControlProviders{11b8e6d7-c08b-4385-b321-321078cdd1f8}

在注册表中搜索相同的 GUID 11b8e6d7-c08b-4385-b321-321078cdd1f8 并删除这些值或条目

Search the registry for the same GUID 11b8e6d7-c08b-4385-b321-321078cdd1f8 and remove those values or entriestoo.

如果您需要使用来自 Team Explorer 的 TFS GIT 存储库和相关信息(如构建等),请不要删除 GIT SCC 提供程序,因为这也会中断.

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:22