git branch --set-upstream-to=origin/远程分支名称
本地分支上传到远程指定分支
git push -u origin localBranchName:remoteName
从远程分支检出
git checkout -b xxx origin/dev
git branch --set-upstream-to=origin/远程分支名称
本地分支上传到远程指定分支
git push -u origin localBranchName:remoteName
从远程分支检出
git checkout -b xxx origin/dev
本文标题:切换关联分支
本文链接:https://www.haomeiwen.com/subject/qrszrktx.html
网友评论