1 git checkout -b 需要创建的分支名 origin/master(表示某个远程分支) 2 git push --set-upstream origin 分支名 , 将新分支提交到远程代码库 相关文章: