diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 9956b23..3517ea0 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -358,44 +358,50 @@ gpf() { } # rebase current branch onto another -alias grb="\ -git \ -rebase \ -" +grb() { + git \ + rebase \ + "${@}" +} # abort current rebase -alias grba="\ -git \ -rebase \ ---abort \ -" +grba() { + git \ + rebase \ + --abort \ + "${@}" +} # continue current rebase -alias grbc="\ -git \ -rebase \ ---continue \ -" +grbc() { + git \ + rebase \ + --continue \ + "${@}" +} # force rebase without fast-forward -alias grbf="\ -git \ -rebase \ ---force-rebase \ -" +grbf() { + git \ + rebase \ + --force-rebase \ + "${@}" +} # rebase interactively -alias grbi="\ -git \ -rebase \ ---interactive \ -" +grbi() { + git \ + rebase \ + --interactive \ + "${@}" +} # remove and add removal to index -alias grm="\ -git \ -rm \ -" +grm() { + git \ + rm \ + "${@}" +} # add a new remote repository alias grma="\