推动Heroku错误

 手机用户2502940777 发布于 2023-02-10 15:33

我知道这是一个常见的情况,但我搜索了google/stackoverflow,但没有一个解决方案适合.我有这个RoR应用程序,我正在尝试推送到heroku.首先,我创建gentle-savannah-1528(dyno?),我正在尝试,git push heroku master但后来我得到这个错误:

emmanuels-imac:kal siaW$ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emmanuels-imac:kal siaW$ 

我已经尝试了这么多解决方案但没有效果.有人可以帮我节省一些时间.我不能再花时间试图弄清楚如何推向Heroku.

我已经做了:

emmanuels-imac:kal siaW$ heroku git:remote -a gentle-savannah-1528
emmanuels-imac:kal siaW$ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emmanuels-imac:kal siaW$ 

CDub.. 5

听起来你还没有创建remotefor Heroku.

按照这些说明操作,确保您已完成:

heroku git:remote -a gentle-savannah-1528

然后尝试:

git push heroku master

1 个回答
  • 听起来你还没有创建remotefor Heroku.

    按照这些说明操作,确保您已完成:

    heroku git:remote -a gentle-savannah-1528

    然后尝试:

    git push heroku master

    2023-02-10 15:35 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有