name my heroku app in git 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: renaming heroku app
$ git remote rm heroku
$ heroku git:remote -a newname