marsishandsome / marsishandsome.github.io

Build a Jekyll blog in minutes, without touching the command line.
MIT License
1 stars 2 forks source link

Three Way Merge – Mars的笔记 – Software Developer@PingCAP #21

Open marsishandsome opened 4 years ago

marsishandsome commented 4 years ago

https://marsishandsome.github.io/2019/07/Three_Way_Merge

最近工作上需要用到git cherry-pick来生成一个特殊的软件版本,具体要求如下

基于v3.0.1的稳定版本 加入2个只在master branch的Patch: F1和F2 能编译并通过ci测试

yanhaijing commented 4 years ago

不错

yanhaijing commented 4 years ago

cherry-pick时 E的base时D,但是D不是C的BASE此时怎么处理?

marsishandsome commented 4 years ago

@yanhaijing cherry-pick时 E的base时D,但是D不是C的BASE此时怎么处理?

还是使用three-way merge,three-way merge不需要保证D是C的BASE

yanhaijing commented 4 years ago

@yanhaijing cherry-pick时 E的base时D,但是D不是C的BASE此时怎么处理?

还是使用three-way merge,three-way merge不需要保证D是C的BASE

那这个BASE,不是很好的BASE,那会不会有奇怪的bug?

adlternative commented 3 years ago

最后是不是错了?

图在这

MrCuriosity commented 1 year ago

优秀,这是我看到讲3 way merge里讲的很好的一篇了