私はMacでプライベートgithubアカウントを持つ別のマシンで作成したレポを複製しようとしています。認証が成功してもリポジトリをクローンできません
私は典型的なsshキーステップを実行しましたが、何らかの理由で私はまだsshを使用してクローンを作成できません。
私が実行します。
ssh -T [email protected]<private account>
私はクローンを作成するとき、私は私の〜/ .ssh/configに
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
Host github.com-<private account>
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_****
IdentitiesOnly yes
Hi <private account>! You've successfully authenticated, but GitHub does not provide shell access.
を得る:
Cloning into 'my repo'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
私は2.11.0でクローンを作成しようとしている一方で、
ssh -v [email protected]<private account>
レポはgitの1.9.1で作成されました:
私はから普通の何かを得ることはありません。違いがありますか?
、どのコマンドクローンを作成するために使用していますか? –
git clone [email protected]:/ .git、githubのクローンまたはダウンロードボタンによって提供されるURL –