Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to switch branches in git

- git checkout branch_name --> goes to branch that already exists
- git checkout -b <branch_name> --> creates a new branch and switches to it.
 
PREVIOUS NEXT
Tagged: #switch #branches #git
ADD COMMENT
Topic
Name
4+2 =