Use git switch
instead of checkout
to switch branches
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
999defefb5
commit
ac5a3c9c7f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ done
|
||||||
|
|
||||||
[[ -z ${jump_branch} ]] || {
|
[[ -z ${jump_branch} ]] || {
|
||||||
step "Switching to branch ${jump_branch}"
|
step "Switching to branch ${jump_branch}"
|
||||||
git checkout "${jump_branch}"
|
git switch "${jump_branch}"
|
||||||
}
|
}
|
||||||
|
|
||||||
step "Rebasing branch / updating submodules..."
|
step "Rebasing branch / updating submodules..."
|
||||||
|
|
Loading…
Reference in a new issue