blob: 985433addf70e6ae9cbe9d2d9e42a0337385ffd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# script checks all git repositories in subdirectory and displays their uncommitted changes
echo -e ""
for dir in *; do
if [[ -d $dir ]] then
if [[ -d "$dir/.git" ]] then
gStatus=$(git -c color.ui=always -C $dir status -s)
if [[ -n $gStatus ]] then
echo $dir
echo -e "${gStatus}\n"
fi
fi
fi
done
|