[英]Git clone using ssh - can't find repository
我正在嘗試使用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/
有線索嗎?
我弄錯了路......
git clone "ssh://steve@test:4837/Program Files (x86)/ICW/home/steve/vc/git/depo/test.git"
/c/dev/es/app/
工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.