Answers for "create gite branch gitbash"

45

git command to create a branch

//Create a New Branch
git checkout -b [name_of_your_new_branch]
//First Push
git push --set-upstream origin [name_of_your_new_branch]
Posted by: Guest on May-02-2020
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 "create gite branch gitbash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language