Skip to content

Instantly share code, notes, and snippets.

@mattmc3
Last active December 20, 2017 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmc3/adb4c4106de665d17e38400c0a4603de to your computer and use it in GitHub Desktop.
Save mattmc3/adb4c4106de665d17e38400c0a4603de to your computer and use it in GitHub Desktop.
Git add multiple remotes
git remote -v
git config --get remote.origin.url
git remote set-url origin --push --add git@github.com:mattmc3/sublime-text-settings.git
git remote set-url origin --push --add git@bitbucket.org:mattmc3/sublime-text-settings.git
git remote -v
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment