summaryrefslogtreecommitdiff
path: root/.local/bin/check-repos
blob: d528ce61fa256829c2fd822206c27e95b0427def (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

cd $HOME/repos
for repo in $(ls)
do
	[ -d $repo/.git ] && echo $repo && \
		echo "------------------------------------------------------" && \
		git --git-dir=$repo/.git --work-tree=$repo status 2>/dev/null && \
		echo "------------------------------------------------------"
done