diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 44d1d62..7765adb 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -66,12 +66,13 @@ gbl() { } # set the link to a remote branch from a local branch -gbs() { +git_branch_set_upstream() { git \ branch \ --set-upstream-to \ "${@}" } +gbsu() { git_branch_set_upstream "${@}"; } # redo the last commit with a different message gcam() {