From 9bd2c799a057a68e84b47f0275238f0d4e0f166c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 17:08:10 +0200 Subject: [PATCH] ggc --- bash/alias/git.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 85c5902..769e5e3 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -90,9 +90,16 @@ alias gfp='git fetch --prune --tags --verbose' # garbage collect all orphan commits alias ggc="\ -git reflog expire --expire=now --all \ +git \ +reflog \ +expire \ +--all \ +--expire \"all\" \ ; \ -git gc --prune=now \ +git \ +gc \ +--aggressive \ +--prune \"now\" \ " # initialize a new repository