rename heroku app
snippet in c

heroku rename

user3777

heroku apps:remane --app <old-project-name> <new-project-name>

rename heroku app local

user2301

First update the name for the heroku app on the heroku dashboard (on the heroku website)
Then do this on terminal (Make sure you're in the right repository)

$ git remote rm heroku (Remove the remote from git)
$ heroku git:remote -a <new app name> (Add it back with it's new name)

renaming heroku app

user9452

$ git remote rm heroku
$ heroku git:remote -a newname

rename heroku app

user356

$ heroku apps:rename newname
Renaming oldname to newname... done
http://newname.herokuapp.com/ | git@herokuapp.com:newname.git
Git remote heroku updated