Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

I want to switch to another branch

git switch branch-name   # new syntax (as of Git 2.23)
git checkout branch-name # old syntax
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #I #switch #branch
ADD COMMENT
Topic
Name
1+7 =