Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 381 Bytes

git-switch-branch.md

File metadata and controls

21 lines (11 loc) · 381 Bytes

Change working branch

git checkout {{BRANCH_NAME}}

Checkout command switches between branches -b flag tells it to create a new branch at the same time

  • BRANCH_NAME: Branch name

Example:

git checkout commands

Demo

Git switch branch

Related