Git clone using ssh - can't find repository

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-03-12T13:37:53Z Indexed on 2010/03/12 18:47 UTC
Read the original article Hit count: 399

Filed under:
|
|

I'm trying to setup a Git server on Windows 7, using CopSsh, PuTTY and msysgit. I'm having problems cloning a repository using ssh.

If I use a regular directory path, it works:

$ 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, doesn't work. I've tried an different paths without success.

$ 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

I followed the instructions from here: http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/

Any clues?

© Stack Overflow or respective owner

Related posts about git

Related posts about ssh