Last active
August 29, 2015 14:02
-
-
Save mgruesbeck/931f0a0e62f040ce0822 to your computer and use it in GitHub Desktop.
Change Git/Heroku remotes - single environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// first see current remotes | |
git remote -v | |
// remote unwanted remote. name is often set to 'heroku'. | |
git remote rm remote_name | |
// add new remote to heroku | |
heroku git:remote -a heroku_instance_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment