Skip to content

Instantly share code, notes, and snippets.

@gpolitis
Last active July 5, 2017 16:31
Show Gist options
  • Save gpolitis/b76cb1d61ef6044b04cc620e16731576 to your computer and use it in GitHub Desktop.
Save gpolitis/b76cb1d61ef6044b04cc620e16731576 to your computer and use it in GitHub Desktop.
Recursive git status
#!/bin/sh -e
# inspired by this https://gist.github.com/dbu/2843660
find . -name .git -type d | while read dir ; do git -C $(dirname $dir) status -s ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment