You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
200 B
Plaintext

#!/bin/sh
# Show dirty git repos
for d in */; do
(
cd $d
status=`git status -s 2>/dev/null`
if [ $? -ne 0 -o -n "$status" ]; then
echo "== $d"
git status -s
fi
)
done