8
我想在Windows 7上使用CopSsh,PuTTY和msysgit安裝Git服務器。我在使用ssh克隆存儲庫時遇到問題。使用SSH的Git克隆 - 無法找到存儲庫
如果我使用一個普通的目錄路徑,它的工作原理:
$ 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/
任何線索?