Files
utility_scripts/repos_checker.sh
2024-03-25 10:24:43 +00:00

5 lines
251 B
Bash
Executable File

#!/bin/sh
# script to find all the git repositories in the current directory (& sub-directories) and display their git statuses
find . -name ".git" -type d -not -path "./.cache/*" -not -path "./.local/*" -exec sh -c '(cd {}/../; pwd; git status)' \;