Created
February 18, 2020 11:14
-
-
Save pebo/8a2a7e3928cb58a9a4e16a5f837f17f2 to your computer and use it in GitHub Desktop.
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/sh | |
set -e | |
script=$(basename $0) | |
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
find $scriptDir -maxdepth 1 -mindepth 1 -type d -exec sh -c '(test -d {}/.git && echo {} && cd {} && git status -s && echo)' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment