summaryrefslogtreecommitdiffstats
path: root/git-gc
blob: 8d5de89441e68afc9560212ef07edf7430995fe0 (plain)
1
2
3
4
5
6
7
#! /bin/sh

echo "* repack" && git repack -adf && \
    echo "* prune" && git prune && \
    echo "* prune-packed" && git prune-packed && \
    echo "* gc" && git gc --aggressive && \
    echo "* done"