Skip to content

Instantly share code, notes, and snippets.

@jmhale
Last active October 18, 2019 10:52
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 jmhale/57bdbe27ab59cd27d059f7f8247219a5 to your computer and use it in GitHub Desktop.
Save jmhale/57bdbe27ab59cd27d059f7f8247219a5 to your computer and use it in GitHub Desktop.
Recursively check all local git repos for uncommited changes
find . -type d -name '.git' | while read dir ; do sh -c "cd $dir/../ && git status -s | grep -q [azAZ09] && echo ---- ${dir//\.git/} ---- && git status -s" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment