git异常:\bin\sh.exe:*** Couldn't reserve space for cygwin's heap,Win32 error 0

异常: 右键 git bash here失效,一闪而过。

通过命令行提交代码时报错:\bin\sh.exe:*Couldn’t reserve space for cygwin’s heap,Win32 error 0

解决方法:进入git目录下的bin目录执行

rebase -b 0x76000000 msys-1.0.dll语句,正常情况下命令行是没有任何返回内容的,除非是执行失败。

在命令行切换到Git\bin目录下输入: rebase -b 0x76000000 msys-1.0.dll  或 或者rebase -b 0x30000000 msys-1.0.dll

问题解决

你可能感兴趣的:(git异常:\bin\sh.exe:*** Couldn't reserve space for cygwin's heap,Win32 error 0)