Last active
December 21, 2016 18:01
-
-
Save ronanyeah/5cea88a11894c63c717362912b3c8204 to your computer and use it in GitHub Desktop.
run git status against all folders in the current folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment