Created
January 16, 2014 11:12
-
-
Save jeffreyroberts/8453208 to your computer and use it in GitHub Desktop.
Push to multiple repos with a single command
This file contains 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
[ /jlr/sites/legophp.com/framework ] | |
[ jlroberts@iMac ] $ git remote set-url --add --push origin ssh://[email protected]/jeffreylroberts/legophp-com-framework.git | |
[ /jlr/sites/legophp.com/framework ] | |
[ jlroberts@iMac ] $ git remote set-url --add --push origin [email protected]:LegoPHP/LegoPHP.git | |
[ /jlr/sites/legophp.com/framework ] | |
[ jlroberts@iMac ] $ git remote -v | |
github [email protected]:LegoPHP/LegoPHP.git (fetch) | |
github [email protected]:LegoPHP/LegoPHP.git (push) | |
origin ssh://[email protected]/jeffreylroberts/legophp-com-framework.git (fetch) | |
origin ssh://[email protected]/jeffreylroberts/legophp-com-framework.git (push) | |
origin [email protected]:LegoPHP/LegoPHP.git (push) | |
[ /jlr/sites/legophp.com/framework ] | |
[ jlroberts@iMac ] $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment