- 初始文件内容:
1
2
3
- 分支 A) 的文件内容:
1 changed line by A
2
3
- 分支 B) 的文件内容:
1
2 changed line by B
3
- 将A合并到B后我想在B分支实现的文件内容:
1 changed line by A
2 changed line by B
3
哪种合并策略使我能够自动实现此结果?
正常(递归)合并会导致此结果,并且无法自动解决:
0
<<<<<<< HEAD
1 changed line by A
2
=======
1
2 changed line by B
>>>>>>> refs/remotes/Remote-B/master
3