9

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-up-a-msysgit-server-with-copssh-on-windows/

手がかりはありますか?

4

1 に答える 1

10

パスを間違えました...

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

働いた。

于 2010-03-12T18:40:18.507 に答える