如何永久禁用Visual Studio 2013中的Git集成? [英] How can you disable Git integration in Visual Studio 2013 permanently?

查看:363
本文介绍了如何永久禁用Visual Studio 2013中的Git集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道你可以通过使用工具/选项对话框禁用git集成,但是我注意到这个设置似乎并没有在会话中持续存在;即一旦关闭并重新打开解决方案,就再次启用Git集成。我猜测Visual Studio在我的解决方案文件系统树中看到.git文件夹。



有很多Visual Studio 2013插件在Git插件时表现不正确-in已启用,我更愿意在命令行管理我的源代码管理,并且我正在处理几个非常大的项目,因为Git集成在打开和使用此解决方案时引入了明显的减速。我想关闭它,因为我根本不使用它或需要它。这可能吗?

解决方案

正如你所说的,你可以禁用源代码管理插件:


  • 工具/选项

  • 选中显示所有设置 in选择

  • 将当前源代码控制插件设置为无
  • 然后


    然后,正如Ade Miller所说:重新启动Visual Studio。



    自从启用git插件后,我的Visual Studio工作非常缓慢,并且我设法将其持续跨会话禁用这一步。



    希望它有帮助。

    I know that you can disable git integration by using the Tools / Options dialog, but what I've noticed is that this setting doesn't seem to persist across sessions; i.e., as soon as close and reopen the solution, Git integration is enabled again. I'm guessing Visual Studio is seeing the .git folder in my solution file system tree.

    There are a variety of Visual Studio 2013 plugins that behave incorrectly when the Git plug-in is enabled, I prefer to manage my source control at the command line, and I work on a few very large projects for which the Git integration introduces noticeable slowdowns in opening and working with the solution. I'd like to turn it off for good, as I simply don't use it or need it. Is this possible?

    解决方案

    As you said you can disable the source control plugin going to:

    • Tools / Options
    • Check "Show all settings"
    • Source Control / Plug-in Selection
    • Set "Current source control plug-in" to "None"

    Then, as Ade Miller says: Restart Visual Studio.

    My Visual Studio was working really slow since the git plugging was enabled and I managed to disable it "persistently across sessions" following this steps.

    Hope it helps.

    这篇关于如何永久禁用Visual Studio 2013中的Git集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆