diff --git a/shell/alias/git.sh b/shell/alias/git.sh index a93bcb5..4044fa8 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -209,21 +209,20 @@ gdw() { } # fetch from the remote repository -alias gf="\ -git \ -fetch \ ---verbose \ ---tags \ -" +gf() { + git \ + fetch \ + --tags \ + --verbose \ + "${@}" +} # fetch from remote repository and prune local orphan branches -alias gfp="\ -git \ -fetch \ ---verbose \ ---tags \ ---prune \ -" +gfp() { + gf \ + --prune \ + "${@}" +} # garbage collect all orphan commits alias ggc="\