2塘

生命本应极度清明而免于杂乱无章

摘要: 1.与远程仓库重新建立关系 git clone git@gitlab.名称.git 2.可以查看本地当前分支,为master git branch 3.本地创建分支,并检出想要的远程分支demo git branch orgin/demo git checkout orgin/demo 或者可以合并 阅读全文
posted @ 2020-03-11 09:53 2塘 阅读(849) 评论(0) 推荐(0) 编辑
摘要: 1.切换到基础分支,如主干 git checkout master 2.创建并切换到新分支demo git checkout -b demo 3.git branch查看已经在demo分支 4.更新分支代码并提交 git add * git commit -m "demo" git push ori 阅读全文
posted @ 2020-03-11 09:43 2塘 阅读(119) 评论(0) 推荐(0) 编辑