diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-07-18 09:48:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-07-18 09:48:37 +0200 |
commit | 7b40892ada15885b8a05438957f94a341a169375 (patch) | |
tree | c0602905c5109d437dc210b6d985f3eb679f290b /git-gc | |
parent | 16f3a8f7e16284e9982d9fbffd44a06d6dad448e (diff) | |
download | bin-7b40892ada15885b8a05438957f94a341a169375.zip bin-7b40892ada15885b8a05438957f94a341a169375.tar.gz |
add git-gc
Diffstat (limited to 'git-gc')
-rwxr-xr-x | git-gc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,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" |