diff --git a/repos_checker.sh b/repos_checker.sh new file mode 100755 index 0000000..9be8ce1 --- /dev/null +++ b/repos_checker.sh @@ -0,0 +1,4 @@ +#!/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)' \; 