summaryrefslogtreecommitdiff
path: root/.local/bin/garbage-collect
blob: 5219b40ea454bac3cf75466754fc6a8cfb31bc0a (plain)
1
2
#!/bin/bash
find /srv/git -name '*.git' -type d|while read -r dir; do(cd "$dir" && git gc); done