Created
March 28, 2022 20:18
-
-
Save jbbn/27cc8a9e7364ceab6ca7bff039c3711a to your computer and use it in GitHub Desktop.
Bash: check the git status of all repositories of a [group] folder
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
find .. -name .git -type d -execdir sh -c 'echo "\033[92m $(pwd) \033[0m"; git fetch --all; git status; echo ""' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment