スポンサードサーチ
事象
git cloneしようしたら書きの文言が出てうまくいかなかった。
$ git clone git@github.com:xxxxxx.git
Cloning into 'xxxxxx'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解決法
Gitの設定はすでにできていると仮定して、
とりあえず、Httpsの方を使えば良さそう。
$ git clone https://github.com/xxxxxx.git
Cloning into 'xxxxxx'...
remote: Enumerating objects: 132, done.
remote: Counting objects: 100% (132/132), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 132 (delta 22), reused 130 (delta 21), pack-reused 0
Receiving objects: 100% (132/132), 155.14 KiB | 40.00 KiB/s, done.
Resolving deltas: 100% (22/22), done.