diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 801df15..977b3e0 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -238,17 +238,19 @@ ggc() { } # initialize a new repository -alias gi="\ -git \ -init \ -" +gi() { + git \ + init \ + "${@}" +} # initialize a new bare repository -alias gib="\ -git \ -init \ ---bare \ -" +gib() { + git \ + init \ + --bare \ + "${@}" +} # log commits history alias gl="\