Skip to content

Instantly share code, notes, and snippets.

@adunkman adunkman/gist:5631298

Last active Dec 17, 2015
What would you like to do?
Execute git status on each directory that is a git repository in the current directory.
ls -dx1 */.git/ | sed 's/\(.*\)\/\.git\//echo \1: \&\& cd \1 \&\& git status --porcelain \&\& cd ..; /' | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.