aboutsummaryrefslogtreecommitdiff
path: root/home/list.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home/list.sh')
-rwxr-xr-xhome/list.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/list.sh b/home/list.sh
new file mode 100755
index 0000000..c1cba62
--- /dev/null
+++ b/home/list.sh
@@ -0,0 +1,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