aboutsummaryrefslogtreecommitdiff
path: root/home/list.sh
blob: c1cba623a632ec9dde18fade20248709e312e784 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#shellcheck disable=SC2038
find . -type d -name branches \
	| xargs -n1 dirname \
	| while read -r repo ; do
		if ! [ "$(basename "$repo")" = ".git" ] ; then
			echo "$repo";
		fi
	done