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

Cannot clone repository in Sourcetree because of cygwin1.dll

我在尝试从 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.

我在 windows 中安装了 GIT,并在 SourceTree 中从嵌入式 GIT 切换到 Windows GIT。工作起来很有魅力!