1.从已有的分支创建新的分支(如从master分支),创建一个mm_b2b分支
git checkout -b mm_b2b

2.查看状态(可省略)
git status

3.添加、提交、push
git add .
git commit -m 'mm_b2b' 【mm_b2b是注释】
git push -u origin mm_b2b 【mm_b2b是分支名】

1.从已有的分支创建新的分支(如从master分支),创建一个mm_b2b分支
git checkout -b mm_b2b
2.查看状态(可省略)
git status
3.添加、提交、push
git add .
git commit -m 'mm_b2b' 【mm_b2b是注释】
git push -u origin mm_b2b 【mm_b2b是分支名】
本文标题:gitlab创建分支并提交到远程
本文链接:https://www.haomeiwen.com/subject/kvrapctx.html
网友评论