summaryrefslogtreecommitdiffstats
path: root/git-gc
diff options
context:
space:
mode:
Diffstat (limited to 'git-gc')
-rwxr-xr-xgit-gc6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-gc b/git-gc
new file mode 100755
index 0000000..e96207c
--- /dev/null
+++ b/git-gc
@@ -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"