Last active
December 29, 2016 21:30
-
-
Save shiva/36ca266ad76ffb64d6e1 to your computer and use it in GitHub Desktop.
List the status of all the git repos found at any depth in the current repo
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
$ for d in `find . -name ".git"`; do \ | |
echo "processing $d ..."; \ | |
git --git-dir=$d --work-tree=$d/.. status; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment