的Git已经给我这个错误Github上/ Cygwin的错误:cygheap碱基错配检测
0 [main] sh (47116) C:\Users\Marcus\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x11C7400/0x1297400.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] sh 42052 fork: child -1 - forked process 47116 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] sh 42052 fork: child -1 - forked process 47116 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
事情我已经尝试过包括:
- 从
C:\cygwin
和C:\cygwin64
删除Cygwin和重新安装 - 使用卸载程序和安装程序重新安装github。
- 卸载github并手动删除其本地和漫游的appdata文件夹,然后重新安装。
- 重新启动电脑
- 重新装订
C:\cygwin
,它成功了,但没有解决任何问题。 - 重新装订
%appdata%\Local\Github\PortableGit_c7e...\.
它再次返回原始错误。
仅供参考,我正在运行Windows 10 64位。唯一的另一个问题,我可以找到该针指出我从来没有达到的解决方案的错误:link here
我不知道除了重新安装Windows完全没有别的地方,任何帮助将不胜感激。
谢谢!这是一个很好的帮助,当然可以解决这个问题。我现在可以在命令行,powershell和git bash中使用git!但是如果你不介意的话,我有一些后续行动?我应该如何让github识别新的可用git命令?因为即使我试图用新的工作替换它的便携式git,它会覆盖它并且错误随之而来。 –
@MarcusGosselin我试图在GitHub桌面之前更改git,并且我遇到了与以前相同的问题:http://stackoverflow.com/a/33703716/6309。我更喜欢打开一个独立的shell(我控制的),在那里我可以使用我想要的Git。 – VonC
我也面临同样的问题,但是当我从GitHub桌面访问Git shell时。当我从独立的Powershell打开目录时,Git可以正常工作。有任何想法吗? –