git switch

Wechsle zwischen Branches. Verfügbar ab Git Version 2.23+. Siehe auch git checkout. Weitere Informationen: https://git-scm.com/docs/git-switch.

git switch {{branche_name}}

git switch {{[-c|--create]}} {{branch_name}}

git switch {{[-c|--create]}} {{branch_name}} {{commit}}

git switch -

git switch --recurse-submodules {{branch_name}}

git switch {{[-m|--merge]}} {{branch_name}}