无法推送到自己的存储库:权限被拒绝(公钥)

时间:2020-08-13 14:45:00

标签: git github

我环顾了Stackoverflow,但没有找到解决问题的方法。

我刚刚创建了一个新的存储库,并运行了以下命令:

git remote add origin git@github.com:me/my-app.git
git push -u origin master

错误,

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.

出什么问题了?我以前从未遇到过这个问题。

0 个答案:

没有答案