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

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

问题描述

我知道您可以使用工具"/选项"对话框禁用 git 集成,但我注意到此设置似乎不会跨会话持续存在;即,只要关闭并重新打开解决方案,就会再次启用 Git 集成.我猜 Visual Studio 在我的解决方案文件系统树中看到了 .git 文件夹.

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.

当启用 Git 插件时,有多种 Visual Studio 2013 插件行为不正确,我更喜欢在命令行管理我的源代码管理,并且我在一些非常大的项目中工作,其中 Git 集成在打开和使用解决方案时引入了明显的放缓.我想永远关闭它,因为我根本不使用它或不需要它.这可能吗?

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:

  • 工具/选项
  • 勾选显示所有设置"
  • 源代码控制/插件选择
  • 将当前源代码管理插件"设置为无"

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

Then, as Ade Miller says: Restart Visual Studio.

由于启用了 git 插件,我的 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.

希望有帮助.

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

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