Skip to content

Instantly share code, notes, and snippets.

@malloc47
Created February 5, 2012 04:41
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 malloc47/1742772 to your computer and use it in GitHub Desktop.
Save malloc47/1742772 to your computer and use it in GitHub Desktop.
find all git repositories and print info about them
# requires git alias
# s = status -s -uno
for i in `find ~/ -type d -name .git` ; do echo $i ; builtin cd $i/../ ; git s ; builtin cd ~/ ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment