change name of server heroku code example Example: renaming heroku app $ git remote rm heroku $ heroku git:remote -a newname