我正在尝试使用以下行将我的代码推送到 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
仍然没有运气。谁能指出问题?
我正在关注这个简短的内容。