diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 9065dcd..be3ed61 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -121,10 +121,21 @@ alias gdt='git difftool --dir-diff' alias gdw='git diff --word-diff-regex=.' # fetch from the remote repository -alias gf='git fetch --tags --verbose' +alias gf="\ +git \ +fetch \ +--verbose \ +--tags \ +" # fetch from remote repository and prune local orphan branches -alias gfp='git fetch --prune --tags --verbose' +alias gfp="\ +git \ +fetch \ +--verbose \ +--tags \ +--prune \ +" # garbage collect all orphan commits alias ggc="\