Unityのうんたら

<現象>
$ git push -u origin master                                                                           
Permission denied (publickey).
fatal: Could not read from remote repository.

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

と、Gitで Permission denied (publickey). と言われてエラー

<原因>
Git の ssh の設定 に公開 (~/.ssh/id_rsa.pub) を登録していない

<解決方法>
1.Gitのターミナルにて
$ ssh-keygen -t rsa
と入力

2.C:\Users\『PCのユーザー名』\.ssh\id_rsa.pub
に記載されている公開鍵をGitに登録

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Menu

メニュー













【メニュー編集】

メンバーのみ編集できます