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'