2016-09-21 134 views
0

当我试图使用git push heroku master 命令在heroku上推送python项目时,我收到了一个这样的错误。当我使用“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. 

我该如何解决这个错误?

回答

1

您必须通过运行heroku keys:add将您的ssh密钥添加到heroku中。 Heroku然后可以验证您并允许在heroku上访问您的存储库。更多信息请见:https://devcenter.heroku.com/articles/keys

相关问题