-
-
Save fkztw/01b0f68560a115749f55 to your computer and use it in GitHub Desktop.
Print git status of all repositories under the current folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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