当我从命令行输入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。重新安装没有帮助。
答案 0 :(得分:2)
您可以尝试使用新版Git for Windows PortableGit-2.4.4.2-3rd-release-candidate-64-bit.7z.exe
(4小时前发布)中的git bash和sh.exe
只需将其解压缩到任意位置,然后将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
),看看问题是否仍然存在。
我解释为什么64位版本的新Git for Windows出现在“Why is it that if you download Git 2.0 from the net, you always get a 1.9.4 installer package?”中。