git switch

Passa ad altri rami. Richiede versioni di Git successive alla 2.23. Vedi anche git checkout. Maggiori informazioni: https://git-scm.com/docs/git-switch.

git switch {{nome_ramo}}

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

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

git switch -

git switch --recurse-submodules {{nome_ramo}}

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