从网站更名为Heroku应用,现在找不到 [英] renamed heroku app from website, now it's not found

查看:121
本文介绍了从网站更名为Heroku应用,现在找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从heroku网站重新命名我的heroku应用程序后,只要我在终端中cd到它的目录并运行任何heroku命令,就会得到 App not found 。有人知道一种方法来解决这个问题吗?

解决方案

尝试更新应用程序的git远程:

  git remote rm heroku 
git remote add heroku git@heroku.com:yourappname.git


After renaming my heroku app from the heroku website, whenever I cd to it's directory in a terminal and run any heroku command, I get App not found. Does anybody know of a way to remedy this?

解决方案

Try to update the git remote for the app:

git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git

这篇关于从网站更名为Heroku应用,现在找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆