我已经安装了两个最新版本的Cygwin和Git的Windows服务器,
现在我想从S1克隆git存储库到S2。
我可以使用RSA密钥从S2成功地进行ssh
到S1,但是当我尝试这样做时:
git clone "ssh://root@S1/path/to/my/repo"
它会抛出以下输出:
Cloning into /cygdrive/c/program files/apache software foundation/apache2.2/…
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 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.
--5 more errors like that one --
remote: Counting objects: 3275, done.
remote: Compressing objects: 100% (3106/3106), done.
fatal: write error: Broken pipe
我遵循了建议的步骤,但没有成功。 有什么建议吗?