about summary refs log tree commit diff
path: root/bin/bin/gall
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bin/gall')
-rwxr-xr-xbin/bin/gall11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/bin/gall b/bin/bin/gall
new file mode 100755
index 0000000..4bad928
--- /dev/null
+++ b/bin/bin/gall
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+repos=$(find ~/workspace -type d -name .git)
+
+for repo in $repos; do
+    dir=$(dirname "$repo")
+    printf "%s\n" "$(basename "$dir")"
+    git -C "$dir" "$@"
+    printf "\n"
+done
+