为什么 git 在我的 windows 机器上很慢?

Why is git slow on my windows machine?

只需在(powershell 的)命令提示符下键入 git,需要 2.5 秒,直到 returns 显示帮助消息。

我正在使用 windows 版本的 git,安装在 C:\Program Files (x86)\Git 中。当我使用 cygwin(通过 babun)时,出现错误:Hint: your prompt is very slow. Check the installed 'BLODA' software. 也许这与此有关?如果是,我用的是企业笔记本电脑,所以无法卸载杀毒软件或驱动软件,还有其他选择吗?

尝试查看 latest 2.4+ git for Windows release 问题是否仍然存在。

有一个 bug related to the git bash startup time 正在积极处理。

对我来说,原因似乎是我 运行 git 在 cmder 中的 "Inject ConEmuHk" 设置。我打开了一个 bug https://github.com/bliker/cmder/issues/592