How to switch branche in git
Git586
description
When using git to manage code, multiple branches are usually created, usually the default is the master branch, we can use this command to switch to the branch2 branch
command
git checkout branch2
parameter
git : is a free and open source distributed version checkout : switch branches or restore working tree files
result
Switched to branch 'branch2'