Use git switch instead of checkout to switch branches

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-08-04 11:12:42 +02:00
parent 999defefb5
commit ac5a3c9c7f
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -16,7 +16,7 @@ done
[[ -z ${jump_branch} ]] || {
step "Switching to branch ${jump_branch}"
git checkout "${jump_branch}"
git switch "${jump_branch}"
}
step "Rebasing branch / updating submodules..."