git新建分支
// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch
// First Push
git push --set-upstream origin myNewBranch
git命令创建分支
//Create a New Branch
git checkout -b [name_of_your_new_branch]
//First Push
git push --set-upstream origin [name_of_your_new_branch]
git从当前创建新分支
git checkout -b topic/newbranch
git新建分支
$ git checkout -b [your_branch_name]
# Switched to a new branch [your_branch_name]
# This is shorthand for:
$ git branch [your_branch_name]
$ git checkout [your_branch_name]
在git中创建新分支的命令
$ git checkout -b <branch-name>
从master创建新分支git
git checkout -b new-branch-name