Last active
October 18, 2019 10:52
-
-
Save jmhale/57bdbe27ab59cd27d059f7f8247219a5 to your computer and use it in GitHub Desktop.
Recursively check all local git repos for uncommited changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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