Skip to content

Instantly share code, notes, and snippets.

@ryankanno
Created March 1, 2013 12:26

Revisions

  1. ryankanno created this gist Mar 1, 2013.
    20 changes: 20 additions & 0 deletions attack_of_the_clones.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    #!/bin/bash

    repos=(
    'https://github.com/github/gitignore'
    'https://github.com/twitter/bootstrap'
    'https://github.com/h5bp/html5-boilerplate'
    'https://github.com/cloudhead/less.js'

    'https://github.com/jquery/jquery'
    'https://github.com/jquery/jquery-mobile'
    'https://github.com/jquery/jquery-ui'
    'https://github.com/blueimp/jQuery-File-Upload'
    'https://github.com/harvesthq/chosen'

    'https://github.com/angular/angular.js'
    'https://github.com/mitsuhiko/flask'
    'https://github.com/mitsuhiko/jinja2'
    )

    printf "%s\n" "${repos[@]}" | parallel -j4 git clone {}