ローカルファイルをリモートリポジトリにPushしようとした時に下記のエラーが起きてしまいました。
原因は鍵にあるのかと思ったのですが、どこを変えればいいのか分からずPushできません。
//Terminal $ git push origin master ERROR: Permission to kyoshida/TestLara.git denied to yosshi. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
~/.ssh/config内コード
Host github.com HostName github.com IdentityFile ~/.ssh/id_rsa User git
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。