Skip to content

Instantly share code, notes, and snippets.

@hugeval
Created November 6, 2015 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugeval/f7e7f51655f225c22bab to your computer and use it in GitHub Desktop.
Save hugeval/f7e7f51655f225c22bab to your computer and use it in GitHub Desktop.
git submodule management
git submodule foreach bash -c 'git branch | grep -v \* | xargs git branch -D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment