How To Change Name Of Heroku App Code Example


Example 1: rename heroku app

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

Example 2: heroku rename

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

Example 3: rename heroku app local

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)

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable