Skip to content

Instantly share code, notes, and snippets.

@johnmdonahue
Created August 20, 2013 23:37
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 johnmdonahue/6288729 to your computer and use it in GitHub Desktop.
Save johnmdonahue/6288729 to your computer and use it in GitHub Desktop.
Dump repos in current directory with uncommitted changes.
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