From: Simon Ruderich Date: Thu, 27 Sep 2012 10:53:23 +0000 (+0200) Subject: gitconfig: Add fg alias (git fs && git gc --aggressive). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=aed1a4db86c59e2bc5a22eadd5d4a11eab3ab85e;p=config%2Fdotfiles.git gitconfig: Add fg alias (git fs && git gc --aggressive). --- 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