简体   繁体   English

为什么git在Windows计算机上运行缓慢?

[英]Why is git slow on my windows machine?

Just typing git at the command prompt (of powershell), takes 2.5 seconds until it returns with the help message. 只需在(powershell的)命令提示符下键入git ,就需要2.5秒,直到它返回帮助消息。

I'm using the git for windows release, installed in C:\\Program Files (x86)\\Git . 我正在使用git for Windows版本,安装在C:\\Program Files (x86)\\Git When I use cygwin (via babun), I get an error: Hint: your prompt is very slow. Check the installed 'BLODA' software. 当我使用cygwin(通过babun)时,出现错误: Hint: your prompt is very slow. Check the installed 'BLODA' software. Hint: your prompt is very slow. Check the installed 'BLODA' software. Maybe this is related? 也许这是相关的? If it is, I'm using a corporate laptop, so can't uninstall antivirus or driver software, are there other options? 如果是的话,我正在使用公司的笔记本电脑,那么无法卸载防病毒软件或驱动程序软件,还有其他选择吗?

For me the reason seemed to be the "Inject ConEmuHk" setting in cmder under which I ran git. 对我来说,原因似乎是在我运行git的cmder中设置了“ Inject ConEmuHk”。 I've opened a bug https://github.com/bliker/cmder/issues/592 我已经打开一个错误https://github.com/bliker/cmder/issues/592

Try and see if the issue persists with the latest 2.4+ git for Windows release . 尝试查看该问题在Windows最新2.4+ git版本中是否仍然存在。

There is a bug related to the git bash startup time which is actively addressed. 有一个与git bash启动时间有关错误已得到有效解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM