Skip to content

Instantly share code, notes, and snippets.

@sjvrijn
Created October 10, 2020 17:53
Show Gist options
  • Save sjvrijn/28126f493cf563f1d2e74a243755dc0f to your computer and use it in GitHub Desktop.
Save sjvrijn/28126f493cf563f1d2e74a243755dc0f to your computer and use it in GitHub Desktop.
git remote add SECOND [SECOND_URL]
git push SECOND master
git remote add BOTH [ORIG_URL]
git remote set-url --push BOTH [ORIG_URL]
git remote set-url --push --add BOTH [SECOND_URL]
git push BOTH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment