uncommited.sh (267B)
1 #!/bin/bash 2 3 # Checks each repo in the current directory to see if any of them have uncommited changes. 4 for REPO in *; do 5 cd $REPO 6 output=$(git status -s) 7 if [ -n "$output" ]; then 8 echo "Uncommited changes detected in $REPO" 9 fi 10 cd .. 11 done