1、参考 Creating merge requests:https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html
2、进入 Project,在左侧菜单中选择 Merge requests,然后选择右上角的 New merge request。如图1
3、选择 Source branch,为自己的当前分支:feature/theme-store-wangqiang,选择 Target branch,为期望合并至的目标分支:feature/theme-store,最后点击 Compare branches and continue。如图2
4、在表单页面中,编辑 Title 与 Description、Reviewer,然后点击 Submit merge request。如图3
5、最终结果页面,如图4
6、如果此时再次提交一个请求,则会报错:The form contains the following error: Validate branches Another open merge request already exists for this source branch: !6989 。如图5
7、可以先将 !6989 给关闭掉。然后再次提交。如图6
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/250858.html