1.远程分支 第一步 创建一个本地分支 git checkout -b 分支名(demo) 查看远程分支 git branch -a 发现远程没有我们刚才创建的分支(demo) 建立本地分支和远程分支的关联 git push --set-upstream origin 分支名(demo)