我正在尝试使用 CopSsh、PuTTY 和 msysgit 在 Windows 7 上设置 Git 服务器。我在使用 ssh 克隆存储库时遇到问题。
如果我使用常规目录路径,它可以工作:
$ git clone ~/vc/git/depot/test.git/ /c/dev/es/app
Initialized empty Git repository in c:/dev/es/app/.git/
warning: You appear to have cloned an empty repository.
SSH,不起作用。我尝试了不同的路径但没有成功。
$ git clone ssh://steve@test:4837/~/vc/git/depot/test.git/ /c/dev/es/app
Initialized empty Git repository in c:/dev/es/app/.git/
fatal: '~/vc/git/depot/eastApp.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
我按照这里的说明操作:http: //www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/
有什么线索吗?