SSH를 사용하는 Git 클론 - 저장소를 찾을 수 없습니다
문제
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-u--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/
일했다.
제휴하지 않습니다 StackOverflow