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