【发布时间】:2023-03-21 04:08:01
【问题描述】:
我在 heroku 文档上。我正在将我的节点应用程序推送到 heroku,它工作正常,但我需要更改网站名称。 https://devcenter.heroku.com/articles/renaming-apps
这表明我可以非常简单地重命名我的应用程序
heroku apps:rename newname
第 2 步:我只是在 git 上进行了更改,然后我就可以访问 heroku 网站了。
git remote rm heroku
heroku git:remote -a newname
我为 git 做了接下来的步骤并收到了
! `git:` is not a heroku command.
当我尝试推送到 heroku 主服务器时找不到应用程序。我还缺少另一个步骤吗?
【问题讨论】:
-
查看此内容以重命名您的 heroku 应用程序。 stackoverflow.com/questions/21941015/…