Skip to content

Instantly share code, notes, and snippets.

@MarkRoddy
Created September 18, 2012 22:31
Show Gist options
  • Save MarkRoddy/3746388 to your computer and use it in GitHub Desktop.
Save MarkRoddy/3746388 to your computer and use it in GitHub Desktop.
Repos with uncommitted changes
for d in `find -type d -name '.git'`; do pushd $d/.. > /dev/null; if [ 0 -ne `git st --short|wc -l` ]; then echo "Need to commit $d"; fi; popd > /dev/null; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment