I initialized a local heroku repo inside my project folder and it gave some random name. I didn’t want that name so I renamed the app name in the remote heroku website to my project folder name. But now if I want to add some addons from commandline it(heroku) always looks for the old name & comes out with error saying ‘ old-name app not found’.
I copied the old-name though it doesnt exist physically (only inside the heroku config, I dont know where it is so I could modify manually) and tried the heroku apps:rename newname --app oldname
So I want to delete my local heroku initialization inside my project folder & do it again from start. Guide me please.
Thanks,
Heroku will, if one is not explicitly specified with
--app, attempt to determine the app name by looking at the git remotes.heroku apps:renamewill handle updating your repository’s remotes for you, but as you’ll observe, doing it via the site will mean you’ll need to update your git remotes manually (you’ll need to do that anyway if you have other clones)