Skip to content

Instantly share code, notes, and snippets.

@mgruesbeck
Last active August 29, 2015 14:02
Show Gist options
  • Save mgruesbeck/931f0a0e62f040ce0822 to your computer and use it in GitHub Desktop.
Save mgruesbeck/931f0a0e62f040ce0822 to your computer and use it in GitHub Desktop.
Change Git/Heroku remotes - single environment
// 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