Skip to content

Instantly share code, notes, and snippets.

@zoranzaric
Created January 21, 2011 10:48
Show Gist options
  • Save zoranzaric/789527 to your computer and use it in GitHub Desktop.
Save zoranzaric/789527 to your computer and use it in GitHub Desktop.
for f in bundle_/*; do url=$(grep url $f/.git/config | sed "s/ url = //"); name=$(basename $url | sed "s/\.git$//"); git submodule add $url bundle/$name; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment