将应用程序推送到 heroku 问题 [英] Pushing app to heroku problem
本文介绍了将应用程序推送到 heroku 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将我的应用推送到 heroku,但收到以下消息:
I am trying to push my app to heroku and I get the following message:
$ heroku create
Creating electric-meadow-15..... done
Created http://electric-meadow-15.heroku.com/ | git@heroku.com:electric-meadow-1
5.git
$ git push heroku master
! No such app as fierce-fog-63
fatal: The remote end hung up unexpectedly
我现在得到这个很奇怪,我已经多次将该应用程序推送到 heroku 没有问题.特别奇怪的是,fierce-fog-63
是我很久以前制作并删除的旧应用程序.为什么现在 heroku 试图推送到这个不再存在的应用程序,尤其是当我创建了一个新的应用程序时?有什么建议吗?
It's weird that I am getting this now, I have pushed the app to heroku many times without issue. the especially weird thing is, fierce-fog-63
is an old app that I made and deleted a long time ago. Why is it now that heroku is trying to push to this app that doesn't exist anymore, especially when I have created a new one? Any suggestions?
推荐答案
输入这个,我想你会看到问题:
Type this and I think you'll see the problem:
git remote -v
像这样修复它:
git remote rm heroku
git remote add heroku git@heroku.com:electric-meadow-15.git
这篇关于将应用程序推送到 heroku 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文