(1)到公司gitlab地址上copy用来clone的地址
git clone ***
(2)如果master不是主分支,就用checkout命令切换分支
git checkout ***
(3)从主分支上新建自己的分支
git checkout -b mybranch
(4)将自己的分支推送到远程仓库
git push --set-upstream origin mybranch
ming-szu 2019-07-30 09:22 原文
(1)到公司gitlab地址上copy用来clone的地址
git clone ***
(2)如果master不是主分支,就用checkout命令切换分支
git checkout ***
(3)从主分支上新建自己的分支
git checkout -b mybranch
(4)将自己的分支推送到远程仓库
git push --set-upstream origin mybranch