renaming heroku app code example
Example 1: rename heroku app
$ heroku apps:rename newname
Renaming oldname to newname... done
http://newname.herokuapp.com/ | [email protected]:newname.git
Git remote heroku updated
Example 2: heroku rename
heroku apps:remane --app <old-project-name> <new-project-name>
Example 3: renaming heroku app
$ git remote rm heroku
$ heroku git:remote -a newname