Skip to content

Instantly share code, notes, and snippets.

@yesaulov
Created January 22, 2015 08:56
Show Gist options
  • Save yesaulov/91d5c2b13ec4c6d08bf8 to your computer and use it in GitHub Desktop.
Save yesaulov/91d5c2b13ec4c6d08bf8 to your computer and use it in GitHub Desktop.
push to more than one repo at one push
# add url to origin repo
git remote set-url --add --push origin git://another/repo.git
# urls list
git remote -v
# add one more url
git remote set-url --add --push origin git://one_more/repo.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment