Skip to content

Instantly share code, notes, and snippets.

@zacharydanger
Created July 17, 2009 01:17
Show Gist options
  • Save zacharydanger/148798 to your computer and use it in GitHub Desktop.
Save zacharydanger/148798 to your computer and use it in GitHub Desktop.
Simple bash script for recursive submodule init/update
#!/bin/bash
#save this file somewhere in your path and make it executable
#then you can just run git-submodule-recurse to recursively init / update your git submodules
git submodule init
git submodule update
git submodule foreach git-submodule-recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment