Skip to content

Instantly share code, notes, and snippets.

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