标签: heroku heroku-toolbelt
我正在尝试使用以下命令行将代码部署到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.
答案 0 :(得分:1)
您需要添加密钥。
heroku keys:add ~/.ssh/id_rsa.pub
请参阅:https://devcenter.heroku.com/articles/keys