1

Gitolite を実行しているサーバーからレポをクローンしようとしていますが、エラーが発生します。

$ git clone ssh://git@git.example.com:1234/users/me/foo
Cloning into 'foo'...
FATAL: invalid repo name: 'users/me/foo'
fatal: Could not read from remote repository.

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

ただし、レポが存在することはわかっていssh -p 1234 git@git.example.com infoます。

hello me, this is git@git.example.com running gitolite3 v3.6-16-g4fefd3f on git 1.7.10.4

 R W    users/me/foo

その出力からリポジトリの名前をコピーして貼り付けたので、スペルを間違えていないことがわかります。

Windows 8のGit Bashからこれを行っています。

なぜこれが起こっているのですか? どうすれば修正できますか?

4

1 に答える 1

1

また非活字にやられたみたいだな。

私の質問で検出できるように、 の直前に印刷されていない文字 (特定できていません)usersがあり、エラーが発生します。

それを削除した後、レポを正常に複製できました。

于 2018-07-15T22:48:05.640 に答える