2010-03-12 5 views
8

Я пытаюсь настроить сервер Git на Windows 7 с помощью CopSsh, PuTTY и msysgit. У меня проблемы с клонированием репозитория с помощью ssh.Git clone using 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://[email protected]: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/

Есть улики?

ответ

10

я получил путь неправильный ...

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

работал.