From aed1a4db86c59e2bc5a22eadd5d4a11eab3ab85e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 27 Sep 2012 12:53:23 +0200 Subject: [PATCH] gitconfig: Add fg alias (git fs && git gc --aggressive). --- gitconfig.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/gitconfig.m4 b/gitconfig.m4 index f307161..32bb9cf 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -87,6 +87,7 @@ include(../lib.m4) # Maintenance. (Redirection of stderr is necessary to prevent missing # output with my "color stderr" solution in Zsh.) fs = ! git fsck --strict --full 2>&1 + fg = ! git fs && git gc --aggressive 2>&1 # fsck and compress repo # Misc. sl = stash list ss = stash save -- 2.45.2