renaming an app on heroku code example
Example 1: heroku rename
heroku apps:remane --app
Example 2: 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 3: renaming heroku app
$ git remote rm heroku
$ heroku git:remote -a newname