From 7557c5b2cc8bff5b7ffc9eb1fab5267b977c6e86 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 16:58:37 +0200 Subject: [PATCH] ggc --- bash/alias/git.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 7417e4c..85c5902 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -89,7 +89,11 @@ alias gf='git fetch --tags --verbose' alias gfp='git fetch --prune --tags --verbose' # garbage collect all orphan commits -alias ggc='git reflog expire --expire=now --all;git gc --prune=now' +alias ggc="\ +git reflog expire --expire=now --all \ +; \ +git gc --prune=now \ +" # initialize a new repository alias gi='git init'