Skip to content

Instantly share code, notes, and snippets.

@echohack
Created November 18, 2016 23:26
Show Gist options
  • Save echohack/202987ee2e69f85ca9910c2225c42705 to your computer and use it in GitHub Desktop.
Save echohack/202987ee2e69f85ca9910c2225c42705 to your computer and use it in GitHub Desktop.
Recursive git status
find . -type d -name '.git' | while read dir ; do sh -c "cd $dir/../ && echo -e \"\nGIT STATUS IN ${dir//\.git/}\" && git status -s" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment