项目场景:
开发项目的时候,使用gitLab合并功能分支feature到dev上的时候,出现了Conflicts,在线解决冲突之后,点击解决合并,结果反向的把dev的分支合并到了feature功能分支,这波蜜汁操作当时我就懵了!!!
问题描述
gitLab合并解决冲突之后,反向将目标分支合并到了源分支。
原因分析:
首先了解一下gitlab官方提供的解决冲突的几个模式:
Resolve conflicts in interactive mode To resolve less-complex conflicts from the GitLab user interface:
1.Go to your merge request.
2.Select Overview, and scroll to the merge request reports section.
3. Find the merge conflicts message, and select Resolve conflicts. GitLab shows a list of files with merge conflicts.
简单翻译一下就是:
1. 转到你的合并请求。
2. 选择Overview,然后滚动到合并请求报告部分。
3. 找到合并冲突消息