git-status-all: show dirty git repos

master
neingeist 6 years ago
parent 276bf69878
commit 16295ce071

@ -0,0 +1,13 @@
#!/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
Loading…
Cancel
Save