我按照以下步骤设置 Git 服务器:https ://github.com/msysgit/msysgit/wiki/Setting-up-a-Git-server-on-Windows-using-Git-for-Windows-and- CopSSH,一切正常,直到我从服务器克隆存储库的最后一步。
在设置的中间,我遇到了一些其他错误,但都解决了。他们是:
libiconv-2.dll
找不到文件:将文件libiconv-2.dll
从复制git/bin
到ICW/Bin
.git-receive-pack.exe
找不到文件:创建3个软链接,,,,git-receive-pack.exe
源文件为。git-upload-pack.exe
git-upload-archive.exe
ICW/Bin
git/libexec/git-core/*
在从服务器克隆存储库的最后一步,我得到了这个错误:
我收到了这个错误:
$ git clone git@127.0.0.1:/cygdrive/d/GitRepo/Test.git
Cloning into 'Test'...
fatal: '/cygdrive/d/GitRepo/Test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
任何人都可以帮忙吗?谢谢。