当我从命令行输入 git
时,一切正常。
但是当我尝试运行 Git Bash 时,出现错误 sh.exe 已停止工作
详情:
问题签名:
Problem Event Name: BEX
Application Name: sh.exe
Application Version: 0.0.0.0
Application Timestamp: 550b4e9e
Fault Module Name: StackHash_5861
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: PCH_78_FROM_ntdll+0x0003CA2C
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.3.9600.2.0.0.256.4
Locale ID: 1058
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: a10f
Additional Information 4: a10ff7d2bb2516fdc753f9c34fc3b069
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
与此同时,3-4 天前一切正常。我在此期间安装了 Composer、xampp 和 Postgres,以及 Visual Studio 2012 的英文 MUI。重新安装没有帮助。
最佳答案
您可以尝试使用适用于 Windows 的新 Git PortableGit-2.4.4.2-3rd-release-candidate-64-bit.7z.exe
中的更新版本的 git bash 和 sh.exe
(4小时前发布)
只需将其解压缩到您想要的任何位置,然后将 c:\path\to\PortableGit-2.4.4.2-3rd-release-candidate-64-bit\cmd
添加到 %PATH %
.
此外,启动 Git bash (c:\path\to\PortableGit-2.4.4.2-3rd-release-candidate-64-bit\git-bash.exe
),并查看是否问题仍然存在。
我解释了为什么 Windows 版新 Git 的 64 位版本出现在“Why is it that if you download Git 2.0 from the net, you always get a 1.9.4 installer package?”中。
关于git - sh.exe 已停止在 Windows 8 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30954787/