Skip to content

Instantly share code, notes, and snippets.

@shiva
Last active December 29, 2016 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiva/36ca266ad76ffb64d6e1 to your computer and use it in GitHub Desktop.
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
$ 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