From 5e9d154a817e6d1acad45e4ca96eb32cbeddf3c1 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 12 Oct 2019 12:33:17 +0100 Subject: [PATCH] Add a 'gc-all' command to the git comfig --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index e81cc9e..bd03006 100644 --- a/.gitconfig +++ b/.gitconfig @@ -31,6 +31,7 @@ ref = for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate rl = reflog --date=iso tags = tag --sort=taggerdate + gc-all = -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc [color] ui = true [branch]