Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create a new git branch

# create and switch to the new branch 
git checkout -b <Name_of_your_branch>
# example 
git checkout -b testBranch1
# if you check your current branch it will show you testBranch1
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #create #git #branch
ADD COMMENT
Topic
Name
3+8 =