Msysgit bash 在 Windows 7 中速度非常慢 [英] Msysgit bash is horrendously slow in Windows 7

查看:23
本文介绍了Msysgit bash 在 Windows 7 中速度非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢 git,并且经常在家中在 OS X 上使用它.在工作中,我们在 Windows 上使用 svn,但希望在工具完全成熟后立即迁移到 git(不仅仅是 TortoiseGit,但也类似于 VisualSVN 提供的非常好的 Visual Studio 集成).但我离题了...

I love git and use it on OS X pretty much constantly at home. At work, we use svn on Windows, but want to migrate to git as soon as the tools have fully matured (not just TortoiseGit, but also something akin the really nice Visual Studio integration provided by VisualSVN). But I digress...

我最近在我的 Windows 7 机器上安装了 msysgit,并且在使用包含的版本时bash,它是 可怕 慢.不仅仅是 git 操作;clear 大约需要五.啊啊啊!

I recently installed msysgit on my Windows 7 machine, and when using the included version of bash, it is horrendously slow. And not just the git operations; clear takes about five seconds. AAAAH!

有没有人遇到过类似的问题?

Has anyone experienced a similar issue?

编辑:看来 msysgit 不能很好地与 UAC 并且可能只是在 XP 上开发或在禁用 UAC 的情况下运行 Vista 或 7 导致的微小设计疏忽;使用 Run as administrator 启动 Git Bash 会导致我在 OS X 上看到的闪电般的速度(或在没有网络连接的情况下启动 Git Bash 后的 7 - 请参阅@Gauthier 答案).

Edit: It appears that msysgit is not playing nicely with UAC and might just be a tiny design oversight resulting from developing on XP or running Vista or 7 with UAC disabled; starting Git Bash using Run as administrator results in the lightning speed I see with OS X (or on 7 after starting Git Bash w/o a network connection - see @Gauthier answer).

编辑 2:啊哈! 看我的回答.

推荐答案

Vista 或 7 上运行缓慢的解决方案似乎是使用 Run as administrator 运行 Git Bash(或为 Git Bash 禁用 UAC快捷方式...或禁用 UAC 完全).区别是白天和黑夜,在 7 上使用 git 再次很棒.

The solution for slowness on Vista or 7 appears to be running Git Bash using Run as administrator (or disabling UAC for the Git Bash shortcut...or disabling UAC entirely). The difference is night and day and using git on 7 is awesome again.

这似乎与 已知问题和,据我推测,XP 作为 msysgit 的开发环境 部分负责.

This appears to be related to a known issue and, as I speculated, XP as a development environment for msysgit is partially responsible.

这篇关于Msysgit bash 在 Windows 7 中速度非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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