在gitlab上创建test分支
本地拉取test分支
git remote add origin https://gitlab.com/Seasonzhang-0503/django_recruitment_app.git
git clone git@gitlab.com:Seasonzhang-0503/django_recruitment_app.git
git checkout -b test origin/test
用vscode修改本地test分支内容并commit
本地推送test分支到远端
git push
远端合并test分支到主分支上(Merge Request)
-
点击New merge request启动
-
合并前
master分支不存在【git2.txt】和【新建文本文档.txt】
test分支存在【git2.txt】和【新建文本文档.txt】
-
合并后
master分支存在【git2.txt】和【新建文本文档.txt】