Answers for "can you create new branch with git checkout"

131

git create new branch

// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch

// First Push
git push --set-upstream origin myNewBranch
Posted by: Guest on September-02-2020
0

git create branch and checkout one command

# git create branch and checkout one command
git checkout -b <branch_name>
Posted by: Guest on November-08-2021

Code answers related to "can you create new branch with git checkout"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language