git switch

Switch branches

Switch to a specified branch. The working tree and the index are updated to match the branch. All new commits will be added to the tip of this branch.

How-tos using git switch

Last modified on November 30, 2021.

Can't find a solution to your git problem?

Contact us on githint@githint.com and we will add the solution to the site