Answers for "how do you add a branch for git"

0

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
Posted by: Guest on January-01-2022

Code answers related to "how do you add a branch for git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language