Skip to content

Instantly share code, notes, and snippets.

@jbbn
Created March 28, 2022 20:18
Show Gist options
  • Save jbbn/27cc8a9e7364ceab6ca7bff039c3711a to your computer and use it in GitHub Desktop.
Save jbbn/27cc8a9e7364ceab6ca7bff039c3711a to your computer and use it in GitHub Desktop.
Bash: check the git status of all repositories of a [group] folder
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