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.
Source by platform.codingnomads.co #
 
PREVIOUS NEXT
Tagged: #switch #branches #git
ADD COMMENT
Topic
Name
6+7 =