Skip to content

Instantly share code, notes, and snippets.

@nyaray
Created May 1, 2012 21:34
Show Gist options
  • Save nyaray/2571602 to your computer and use it in GitHub Desktop.
Save nyaray/2571602 to your computer and use it in GitHub Desktop.
Ugly hack to do `git status` in sub-folders (not dependencies, though!) containing git repositories.
# OMG I NEVER WANT TO LOSE THIS.
for dir in `find . -type d | grep -v "deps" | grep ".git$"`; do (cd $dir/..; echo $dir; git status --short); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment