簡體   English   中英

使用“ git push heroku master”命令時出現錯誤

[英]I got an error while using “git push heroku master” command

當我嘗試使用git push heroku master命令在heroku上推送python項目時,出現了這樣的錯誤。

Permission denied (publickey).
fatal: Could not read from remote repository.

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

我該如何解決這個錯誤?

您必須通過運行heroku keys:add將ssh密鑰添加到heroku。 然后,Heroku可以驗證您的身份並允許訪問您在Heroku上的存儲庫。 此處的更多信息: https : //devcenter.heroku.com/articles/keys

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM