Answers for "git create and checkout branch"

44

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
14

git checkout new branch

// create and checkout new branch in one line
git checkout -b new_branch
Posted by: Guest on May-24-2020
4

git create and checkout branch

$ git checkout -b <branch_name>
Posted by: Guest on June-25-2020
3

git command to create a branch from another branch

$ git checkout -b myfeature dev
Posted by: Guest on April-30-2020

Code answers related to "git create and checkout branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language