我正在尝试使用以下命令将我的代码推送到Heroku:
git push heroku master
但我一直收到以下错误/消息:
Warning: Permanently added 'heroku.com,50.85.49.333' <RSA> to the list of known hosts.
Permission denied <public key>
fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists.
我已上传了我的密钥:
heroku keys:add ~/.ssh/id_rsa.pub
将我的远程设置为git url:
git remote set-url heroku git@heroku.com:project-name.git
仍然没有运气。有人能指出问题吗?
我正在按照这篇简短的教程进行操作。