0

我正在尝试使用以下命令行将我的代码部署到 heroku:

 $ git push heroku master
    Permission denied (publickey).
    fatal: Could not read from remote repository.

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

1 回答 1

1

您需要添加您的密钥。

 heroku keys:add ~/.ssh/id_rsa.pub

看到这个:https ://devcenter.heroku.com/articles/keys

于 2013-06-09T05:12:01.023 回答