由于cygwin1.dll,无法在Sourcetree中克隆存储库

时间:2016-10-11 15:46:40

标签: git atlassian-sourcetree sourcetree

尝试从BitBucket或Github克隆存储库时出现此错误。我试过重新启动计算机,重新安装Sourcetree,但没有运气。还有其他提示吗?我的电脑上只有一个cygwin1.dll文件。

0 [main] sh (8532) C:\Users\myUser\AppData\Local\Atlassian\SourceTree\git_local\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1180400/0x1120400. 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.

1 个答案:

答案 0 :(得分:10)

我在Windows中安装了GIT,并在SourceTree中从嵌入式GIT切换到Windows GIT。像魅力一样工作!