Pregunta

Estoy tratando de configurar un servidor de Git en Windows 7, utilizando CopSsh, masilla y msysgit. Tengo problemas para la clonación de un repositorio usando ssh.

Si utilizo una ruta de directorio normal, funciona:

$ 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, no funciona. He intentado un diferentes caminos sin éxito.

$ 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

He seguido las instrucciones desde este punto: http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/

¿Alguna pista?

¿Fue útil?

Solución

Tengo el camino equivocado ...

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

funcionado.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top