Created
April 13, 2012 06:02
-
-
Save wenming/2374234 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
///repo lists is just a copy and paste from your repo dashboard. For example: the list could be: | |
WindowsAzure-TrainingKit/Tutorial-HPCSOAapps | |
WindowsAzure-TrainingKit/Tutorial-HPCPowershellDeployment | |
WindowsAzure-TrainingKit/Tutorial-HPCMPIIntro | |
WindowsAzure-TrainingKit/Tutorial-HPCBasicParametricSweepApps | |
WindowsAzure-TrainingKit/Tutorial-TPLAzureScaleOut | |
WindowsAzure-TrainingKit/Tutorial-HPCImageRendering | |
WindowsAzure-TrainingKit/Tutorial-HPCBLAST | |
WindowsAzure-TrainingKit/Tutorial-HPCDeployToExistingCluster | |
Put the list above into a text file. For example: repoList.txt | |
for repo in `cat repoList.txt`;do { git clone [email protected]:$repo\.git & } ; done | |
///Notice these are back ticks `cat ….` | |
///Git PULL on all repos. | |
for repo in *; do if [ -d "$repo" ]; then cd $repo; { git pull & }; cd ..; fi ; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment