summaryrefslogtreecommitdiffstats
path: root/git-gc
blob: e96207c04c3805a2d0f695f5214b9fd15c61cb3e (plain)
1
2
3
4
5
6
#! /bin/sh
echo "* prune" && git prune && \
    echo "* prune-packed" && git prune-packed && \
    echo "* gc" && git gc --aggressive && \
    echo "* repack" && git repack -a && \
    echo "* done"