[英]git bash suddenly slow on every command not only git command
I have git bash in WIN 10. Since last week suddenly every command (ls, cd, git, ...) runs very slow, even ctrl-c.我在 WIN 10 中有 git bash。从上周开始,突然每个命令(ls、cd、git,...)运行速度非常慢,甚至 ctrl-c。 After type a command it pauses, and then shows result, before command completes, it pauses another while.输入命令后会暂停,然后显示结果,命令完成前会暂停一段时间。 I remembered last week there was a 3D Graphics GPU something in notification corner during that time.我记得上周那段时间在通知角落有一个 3D 图形 GPU。 I checked that I don't have GPU in this PC, and it is GeForce 630 with a 2017 driver.我检查了这台 PC 中没有 GPU,它是带有 2017 驱动程序的 GeForce 630。 (heard that AMD driver can cause such problem). (听说 AMD 驱动程序会导致此类问题)。
git bash
;重新安装git bash
;Event Viewer
- so see if anything specific to the git bash application is logged there;检查Event Viewer
- 所以看看那里是否记录了特定于 git bash 应用程序的任何内容;Restore point
if you have any;如果有,请尝试使用Restore point
;How to do that see here;如何做到这一点,请参见此处; it loads only necessary configuration 它只加载必要的配置
git bash
2 重新安装git bash
Is most straghforward way to resolve this;是解决这个问题的最直接的方法;
Open Event viewer in windows 10 by chosing of the following methods:通过选择以下方法在 Windows 10 中打开事件查看器:
control panel
=> administration tools
=> event viewer
); control panel
=> administration tools
=> event viewer
);event viewer
) - " event viewer
"; (通过打开搜索和输入| Win => 只需输入event viewer
)-“ event viewer
”;eventvwr
);通过打开运行命令(使用Win + R => eventvwr
);Event Viewer
3 检查Event Viewer
Then try checking windows logs:然后尝试检查 Windows 日志:
You must be looking at the column Level ( Error
) after you have tried to run the commands (that freezes you git bash).在您尝试运行命令(这会冻结您的 git bash)后,您必须查看列Level ( Error
)。 Look at the date and time column to check the most recent one.查看日期和时间列以检查最近的一列。
Then by going to eventvwr
you may see some new warning/error (most probably that hangs up your console) See the Event viewer
error example (you could use error message and Event ID to google the problem):然后通过转到eventvwr
您可能会看到一些新的警告/错误(很可能会挂断您的控制台)查看Event viewer
错误示例(您可以使用错误消息和事件 ID 来搜索问题):
control panel
=> programs and features
- try uninstalling it after which you may have noticed this behavior. control panel
=> programs and features
- 尝试卸载它,之后您可能已经注意到了这种行为。
please let us know if anything of the given solution works or provides you with any additional information to continue the investigation.请让我们知道给定的解决方案是否有效或为您提供任何其他信息以继续调查。 Or even solve the problem.甚至解决问题。
Task manager
;打开你的Task manager
;Starup
tab;转到Starup
选项卡; On the legacy Windows 10 [for windows 10 users under 20h2]: Win + R => Startup
tab;在旧版 Windows 10 上 [适用于20h2 以下的 Windows 10 用户]: Win + R => Startup
选项卡;
See How to Stop Windows 10 Apps From Launching at Startup查看如何在启动时阻止 Windows 10 应用程序启动
Restore point
if you have any 6 如果您有任何Restore point
请尝试使用See Recovery options in Windows请参阅Windows 中的恢复选项
By going to the windows 10 website and downloading the tool in the Create Windows 10 installation media
section.通过转到Windows 10 网站并在Create Windows 10 installation media
部分下载该工具。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.