重命名了Heroku的主机名,现在找不到该应用程序 [英] Renamed Heroku's hostname, now it can't find the application
本文介绍了重命名了Heroku的主机名,现在找不到该应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我以前在以下位置使用Heroku的应用程序名称:
I previously had my Heroku's application name at:
shielded-meadow-9293.heroku.com
shielded-meadow-9293.heroku.com
这是我创建Heroku遥控器并启动dyno时的名称。一切运行顺利后,我将名称更改为
This was the name when I created the Heroku remote and fired up the dyno. After everything was running smooth, I changed the name to
platformdesignmadness.heroku.com
platformdesignmadness.heroku.com
该网站正常运行,但是在同一终端中,当我执行
The site works, but in the same terminal, when I do a command such as
heroku ps
我得到一个 $> !找不到该应用。
错误。为什么是这样?
I get a $> ! Couldn't find that app.
error. Why is this?
推荐答案
在您的终端机中:
git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git
请参见此处
Heroku docs 此处
Heroku docs here.
这篇关于重命名了Heroku的主机名,现在找不到该应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文