scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0bdd3f9d0c9dba167bb86dec7a5849eafdfaf1ce
parent 5e6efb04e02d83b254cce36ac7b4bac10d9d6625
Author: Andrew Laack <andrew@laack.co>
Date:   Thu, 19 Feb 2026 02:33:50 -0600

Added script for checking if repos in the current directory have uncommited changes

Diffstat:
Auncommited.sh | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/uncommited.sh b/uncommited.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Checks each repo in the current directory to see if any of them have uncommited changes. +for REPO in *; do + cd $REPO + output=$(git status -s) + if [ -n "$output" ]; then + echo "Uncommited changes detected in $REPO" + fi + cd .. +done