Skip to content

Instantly share code, notes, and snippets.

@xinmyname
Forked from gpolitis/git-status-recursive.sh
Last active April 5, 2018 17:07
Show Gist options
  • Save xinmyname/9367016283de74a84fcd51004ef40343 to your computer and use it in GitHub Desktop.
Save xinmyname/9367016283de74a84fcd51004ef40343 to your computer and use it in GitHub Desktop.
Recursive git status
#!/bin/sh -e
find . -name .git -type d | while read dir; do repo=$(dirname $dir); echo $repo; git -C $repo status --short --branch; echo ""; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment