git push heroku master收到以下错误 [英] git push heroku master getting following error

查看:126
本文介绍了git push heroku master收到以下错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用以下命令行将代码部署到heroku:

I'm attempting to deploy my code to heroku with the following command line:

 $ 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.


推荐答案

您需要添加您的密钥。

 heroku keys:add ~/.ssh/id_rsa.pub

请参阅: https://devcenter.heroku.com/articles /键

这篇关于git push heroku master收到以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆