2016-09-21 135 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

相關問題