找不到存储库

我试图在Windows 7上安装Git服务器,使用CopSsh,PuTTY和msysgit。 我在使用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/

任何线索?


我弄错了路径...

git clone "ssh://steve@test:4837/Program Files (x86)/ICW/home/steve/vc/git/depo/test.git" 
 /c/dev/es/app/

工作。

链接地址: http://www.djcxy.com/p/45233.html

上一篇: can't find repository

下一篇: How to upload a project to Github