diff --git a/aliases b/aliases index 99f016c..ed72aad 100644 --- a/aliases +++ b/aliases @@ -139,8 +139,8 @@ alias grbc="grb --continue" alias grbsk="grb --skip" alias grbsh="grb --show-current" alias grbom="git rebase \"origin/\$(git defbranch)\"" -gfrb() { remote="${1%/*}"; git fetch "$remote" && git rebase "$@"; } -gfrbi() { remote="${1%/*}"; git fetch "$remote" && git rebase -i "$@"; } +gfrb() { remote="${1%%/*}"; git fetch "$remote" && git rebase "$@"; } +gfrbi() { remote="${1%%/*}"; git fetch "$remote" && git rebase -i "$@"; } alias gam="git am" alias gama="git am --abort"