git.infertux.com bin-scripts / master git-dirty
master

Tree @master (Download .tar.gz)

git-dirty @masterraw · history · blame

#!/bin/sh

#
# Displays Git status of the repositories in the current directory
#

dir=$(pwd)

for r in $(find $dir -maxdepth 1 -type d); do
    [ -d "$r/.git" ] || continue
    cd "$r"
    pwd
    git status -s
    echo
done