Skip to content

Instantly share code, notes, and snippets.

@codeswimmer
Created November 18, 2011 19:11
Show Gist options
  • Save codeswimmer/1377447 to your computer and use it in GitHub Desktop.
Save codeswimmer/1377447 to your computer and use it in GitHub Desktop.
git: recursively reset a git submodule hierarchy to HEAD
git submodule foreach git submodule init && git submodule update --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment