Created
August 20, 2013 23:37
-
-
Save johnmdonahue/6288729 to your computer and use it in GitHub Desktop.
Dump repos in current directory with uncommitted changes.
This file contains hidden or 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 -maxdepth 1 -exec sh -c '(cd {} && [ "`git status --porcelain 2>/dev/null`" != "" ] && echo "\033[0;31m> Uncommitted changes: `basename $PWD`\033[m")' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment