change heroku remote code example
Example 1: how to add existing heroku remote
git remote add heroku [email protected]:project.git
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: heroku rename
heroku apps:remane --app
Example 4: push heroku
$ git push heroku master