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 www.atlassian.com #
 
PREVIOUS NEXT
Tagged: #switch #branches #git
ADD COMMENT
Topic
Name
1+5 =