Last active
December 2, 2022 07:37
-
-
Save kiprasmel/6f6c68a0a9e435599b7863e485bf2ee1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
for p in *projects/; do | |
printf "\n$p\n\n" | |
for dir in $(find "./$p" -type d -maxdepth 1); do | |
gitdir="$dir/.git" | |
test -d "$gitdir" && { | |
printf "$dir\n" | |
git --work-tree="$dir" --git-dir="$gitdir" status -s | |
} | |
done | |
done | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment