无法使用pycharm git推送到heroku

时间:2014-01-21 21:53:46

标签: git heroku pycharm

enter image description here

我正在研究pycharm / django项目。我的git存储库已被添加并提交,但是当我尝试推送时,错误显示“没有跟踪分支。我试过了:

$ git remote                                                                      
heroku
(r1)
/f/envs/r1/driver1 (master)
$ git remote show heroku
Warning: Permanently added the RSA host key for IP address '********' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.    

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

有人可以告诉我下一步该做什么吗?

1 个答案:

答案 0 :(得分:3)

这与PyCharm无关,而是你没有将你的SSH密钥添加到Heroku。 This将帮助您解决问题。