Tôi đang cố thiết lập máy chủ Git trên Windows 7, sử dụng CopSsh, PuTTY và msysgit. Tôi đang gặp vấn đề nhân bản một kho lưu trữ bằng cách sử dụng ssh.Git clone bằng ssh - không thể tìm thấy kho lưu trữ
Nếu tôi sử dụng một đường dẫn thư mục thường xuyên, nó hoạt động:
$ 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, không hoạt động. Tôi đã thử một con đường khác nhau mà không thành công.
$ 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
Tôi làm theo các hướng dẫn tại đây: http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/
Bất kỳ manh mối?