git - Heroku: ! You do not have access to the app heroku -


i had app default name heroku set up. wanted change had 2 apps, staging , production app. following heroku guide here think i've got 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) 

but want change name of heroku "production". running heroku apps:rename production --app heroku results in:

renaming heroku production... failed  !    not have access app heroku. 

any ideas?

to rename git origin perform following;

git remote rename heroku production 

this let do

git push production master 

to deploy application.


Comments