Answers for "how to change remote for heroku"

0

how to force push to heroku

git push --force heroku master
Posted by: Guest on February-23-2020
1

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)
Posted by: Guest on August-17-2020

Browse Popular Code Answers by Language