我已经安装了两个带有最新版本的cygwin和git的Windows服务器,并且我正在尝试将git存储库从S1克隆到S2.我可以使用RSA密钥成功地从S2跳到S1,但是当我这样做时:git clone"ssh:// root @ S1/path/to/my/repo"它会抛出这个输出:
Cloning into /cygdrive/c/program files/apache software foundation/apache2.2/htdocs/myfolder...
2 [main] git 2004 C:/cygwin/lib/git-core/git.exe *** fatal error - cygheap base mismatch detected - 0x61242860/0x6123790.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search fro cygwin1.dll using the WIndows Start->Find/Search facility and delete all bu 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 distrubtion. Rebooting is also suggested …Run Code Online (Sandbox Code Playgroud)