From a6e05017b7cb5c8cdaff3f6adc03586271a177d8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 13:23:38 +0100 Subject: [PATCH] gbsu --- shell/alias/git.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {