Git ! 没有类似demo_应用程序的应用程序
我是github/heroku的新手,现在正在学习rails教程。当我试图提交我的申请时,我得到一个错误,上面写着!没有像demo_应用这样的应用程序。然而,当我Git ! 没有类似demo_应用程序的应用程序,git,heroku,Git,Heroku,我是github/heroku的新手,现在正在学习rails教程。当我试图提交我的申请时,我得到一个错误,上面写着!没有像demo_应用这样的应用程序。然而,当我 git remote -v 我得到: heroku git@heroku.com:demo_app.git (fetch) heroku git@heroku.com:demo_app.git (push) origin git@heroku.com:schan93/demo_app.git (fetch) origin git@h
git remote -v
我得到:
heroku git@heroku.com:demo_app.git (fetch)
heroku git@heroku.com:demo_app.git (push)
origin git@heroku.com:schan93/demo_app.git (fetch)
origin git@heroku.com:schan93/demo_app.git (fetch)
但当我这么做的时候
git push heroku master
我得到一个错误,上面写着
! No such app as demo_app.
有什么帮助吗?谢谢 如果这是一个错误的假设,请原谅,但我猜你在heroku上没有名为demo_app的应用程序 如果是这种情况,您应该使用创建应用程序,如下所示
heroku apps:create
您可以像这样传递一个可选名称
heroku apps:create my_app
这应该会弹出一个git url,然后您可以将其添加到git中,并且您应该能够推送到