Git Bash(mintty)在Windows 10操作系统上非常慢 [英] Git Bash (mintty) is extremely slow on Windows 10 OS

查看:1335
本文介绍了Git Bash(mintty)在Windows 10操作系统上非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月前,我在 Windows 10 上安装了 git 。它运行良好一段时间。但现在,它运行得非常缓慢。


git status 命令需要 7秒才能执行, git存储需要许多分钟存储(即使没有任何东西存储)。另外,我想指出, git status 会立即打印结果,但是我不能在几秒钟内输入新命令,如下图所示。 p>



我尝试了冲浪网络解决我的问题,如这个,< a href =http://dev.nettreo.com/post/2010/03/19/Solution-to-slow-Git-bash-when-logged-in-as-a-domain-user.aspx = nofollow noreferrer>这等,但没有一个工作。



P。:我使用windows defender antivirus,它是 NOT 让我的bash变慢。另外, cmd 需要更多时间来执行 git 命令,而 git bash 则需要较长时间来执行任何命令。 / p>

更新:我现在已切换到Ubuntu,因此我目前不使用Windows。所以,我无法检查任何解决方案是否适用于我。我接受@pschild提供的答案,因为它拥有最多的upvotes,并且似乎已经为很多人工作。

解决方案

我最近遇到了完全相同的问题。在尝试了这个线程和其他线程的所有建议之后,我终于找到了一个解决方案这里,分别在链接问题此处



在Windows设备管理器中禁用AMD Radeon图形驱动程序,然后切换至集成英特尔高清显卡为我工作 - 无论什么原因。



希望有帮助!

I installed git on my Windows 10 a couple months ago. It worked fine for some time. But now, it's running so slow.
The git status command takes 7 seconds to execute, and git stash takes many minutes for stashing (even if there is nothing to stash). Also, I would like to point out that git status prints the result instantaneously, but I can not enter a new command for a few seconds as shown in the image below.

I have tried surfing the net for solutions to my problem like this, this, etc. but none of these have worked.

P.S.: I use windows defender antivirus and it is NOT making my bash slow. Also, cmd takes more time to execute git commands while git bash takes a longer time to execute any command.

Update: I have switched to Ubuntu now and therefore, I don't use Windows presently. So, there is no way I can check if any of the solutions work for me. I am accepting the answer provided by @pschild since it has the most number of upvotes and seems to have worked for many people.

解决方案

I recently ran into the exact same issue. After trying all the advice from this thread and a lot of other threads, I finally found a solution here, respectively in the linked issue here.

Disabling AMD Radeon graphics driver in the Windows device manager and switching to integrated Intel HD graphics worked for me - for whatever reason.

Hope that helps!

这篇关于Git Bash(mintty)在Windows 10操作系统上非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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