我安装了 Heroku 并设置了一个帐户,但由于某种原因,每当我尝试将应用程序推送到网站时,都会收到此错误。
$ git push heroku master
! No such app as first_app
fatal: The remote end hung up unexpectedly
我检查了一下,heroku 看到了 git
$ git remote -v
heroku [email protected] /cdn-cgi/l/email-protection:first_app.git (fetch)
heroku [email protected] /cdn-cgi/l/email-protection:first_app.git (push)
如何让 heroku 识别我的 git 文件?
您似乎已重命名您的应用程序。
如果您已重命名应用程序,请按照此处的说明操作:
http://devcenter.heroku.com/articles/renaming-apps#updating-git-remotes http://devcenter.heroku.com/articles/renaming-apps#updating-git-remotes
Follow: 更新 Git 遥控器如果您通过 Heroku Web 界面更新了您的应用程序!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)