Skip to content

Instantly share code, notes, and snippets.

@dijeferson
Created December 5, 2017 07:45
Show Gist options
  • Save dijeferson/483e353dcec18ecbaca06657184acaab to your computer and use it in GitHub Desktop.
Save dijeferson/483e353dcec18ecbaca06657184acaab to your computer and use it in GitHub Desktop.
Recursive Git Status
# Recursive Git Status
git-recv() {
GREEN='\033[0;32m'
NC='\033[0m' # No Color
find . -name .git -type d | while read dir ; do echo -e "${GREEN}Repository ==>${NC} $(dirname $dir)" ; 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