解决cmder使用Git时的错误

错误如下:

git pull
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x68550000, BaseAddress 0x68570000, RegionSize 0x22000, State 0x1000
f:\kenshin\DevTools\git-1.8.1.2\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

解决方案:

cd F:\kenshin\DevTools\git-1.8.1.2\bin
F:\kenshin\DevTools\git-1.8.1.2\bin>rebase.exe -b 0x50000000 msys-1.0.dll

参考:

2014-04-29 14:33