gitで「Permission denied」エラーが出たら
githubに公開鍵を設置したのに以下のようなエラーが出た
% git push origin develop
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.
解決方法
macの場合やけど
% cd
% cd .ssh
% ssh-add 秘密鍵の名前
この記事が気に入ったらサポートをしてみませんか?