summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rw-r--r--.local/bin/garbage-collect2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/garbage-collect b/.local/bin/garbage-collect
new file mode 100644
index 0000000..a133040
--- /dev/null
+++ b/.local/bin/garbage-collect
@@ -0,0 +1,2 @@
+#!/bin/bash
+find . -name '*.git'|while read -r dir; do(cd "$dir" && git gc); done