Last active
December 18, 2020 22:29
-
-
Save cuibonobo/10cd4192873a204c05e22a5bd34a5727 to your computer and use it in GitHub Desktop.
Pushing to multiple repositories at the same time. (This will also work with HTTP URLs.)
This file contains hidden or 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
git remote set-url --add --push origin [email protected]:org_1/the_repo.git | |
git remote set-url --add --push origin [email protected]:org_2/the_repo.git | |
# Note: Even if you cloned the repo directly from one of these addresses, you still | |
# need to set them again as a push URL! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment