特牛网址导航

Git本地创建分支推送到远程并与远程对应分支创建关联_本地新建代码推送到远程分支-CSDN博客

网友收藏
文章浏览阅读878次。编码实战Step1 在本地新建分支并切换至该分支git checkout -b newbranchStep2 把本地分支push到远程git push origin newbranchStep3 建立当前分支与远程分支的映射关系git branch -u origin/远程分支名或者使用命令:git branch --set-upstream-to origin/远程分支名或者使用命令:git branch –set-upstream 本地新建分支名 origin/远程分支名_本地新建代码推送到远程分支