Glossary: Command Line and Git
git switch
Also written: git checkout
Moves you to another branch and changes your files to match it. `git switch -c name` creates the branch first, and `git checkout` is the older equivalent.
Glossary: Command Line and Git
Also written: git checkout
Moves you to another branch and changes your files to match it. `git switch -c name` creates the branch first, and `git checkout` is the older equivalent.