Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wenming/2374234 to your computer and use it in GitHub Desktop.
Save wenming/2374234 to your computer and use it in GitHub Desktop.
///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