2017-02-19 7 views
0

copsshを使用して、自分のosがwindows 2012である自分のgitサーバーをセットアップしました。
そして私はgitリポジトリを1つ作成しました。
The git repository directorygit clone with copssh

あなたが画像で見ることができるように、私のローカルPCで「vacationsabroad.git」

という名前のgitリポジトリがあり、私はこのリポジトリつもりクローンです。 次のコマンドを使用します。

fatal: '/cygdrive/c/cossh/home/admin/git/vacationsabroad.git' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Error window

がどのように私はこの問題を解決することができます:

git clone [email protected]:/cygdrive/c/cossh/home/admin/git/vacationsabroad.git 

は、しかし、私は致命的なエラーを得ていますか?

答えて

0

copsshとgitサーバーを使用している場合は、次のコマンドを使用する必要があります。

To check out a repository: git clone {username}@{servername}:{repodriveletter}:/{repopath} 

あなたのコマンドは次のようになります。

git clone [email protected]:c:/cossh/home/admin/git/vacationsabroad.git 

ご希望の場合はお手数ですが、それが動作しない場合は、私に知らせてください。

+0

パスにスペースがある場合は、引用符を付けることも忘れないでください。 – Stavm

+0

ありがとう、それは私のために働く。 – user7553103