Heroku :!您无权访问应用程序heroku [英] Heroku: ! You do not have access to the app heroku
本文介绍了Heroku :!您无权访问应用程序heroku的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最初有一个默认名称为heroku的应用程序.但是我想更改此设置,所以我有两个应用程序,一个临时应用程序和一个生产应用程序.遵循heroku指南此处,我认为我已经运行了 git远程-v
显示
I originally had an app with the default name heroku set up. However I wanted to change this so I had two apps, an staging and production app. Following the heroku guide here I think i've got it working, running git remote -v
shows
heroku git@heroku.com:oldapp.git (fetch)
heroku git@heroku.com:oldapp.git (push)
staging git@heroku.com:newapp.git (fetch)
staging git@heroku.com:newapp.git (push)
但是我现在想将heroku的名称更改为"production".运行 heroku apps:重命名生产--app heroku
结果为:
but I now want to change the name of heroku to "production". Running heroku apps:rename production --app heroku
results in:
Renaming heroku to production... failed
! You do not have access to the app heroku.
有什么想法吗?
推荐答案
要重命名git起源,请执行以下操作;
To rename a git origin perform the following;
git remote rename heroku production
现在,您可以这样做
git push production master
部署您的应用程序.
这篇关于Heroku :!您无权访问应用程序heroku的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文