Created
January 22, 2013 09:13
-
-
Save timmillwood/4593250 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
dc_git="$1" | |
mc_git="$2" | |
git clone --mirror ${dc_git} dc | |
cd dc | |
git remote add mc ${mc_git} | |
git push --mirror mc | |
cd .. | |
rm -rf dc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment