Skip to content

Instantly share code, notes, and snippets.

@ahill00
Created March 17, 2013 21:29
Show Gist options
  • Save ahill00/5183739 to your computer and use it in GitHub Desktop.
Save ahill00/5183739 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
# Modified from http://stackoverflow.com/a/12495234/2764
find . -mindepth 1 -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} status \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment