转载:http://blog.csdn.net/xuguiyi100/article/details/51966557

分支合并主干示例

1.主干工程右键选择merge合并下一步

2.选中merge two different trees下一步

3.from主干版本路径,版本号选择分支分出去的版本号

   to合并的分支目录,版本号一般最新版本

   下一步

4.选择属性,一般直接下一步即可

5.下一步完成。若无冲突直接主干提交代码即可。


若存在冲突解决办法,个人建议使用最后一种解决冲突

Mark as conflicted. I will deal wiht it later. --标记冲突,合并到主干解决冲突

Resolve the conflict by using my version of the file.  --直接用主干的文件覆盖,分支修改无效

Resolve the conflict by using the incoming of the file. --直接用分支修改覆盖主干,以分支为准

Let me edit the file  with conflict markers inserted. --直接编辑冲突,编辑完保存,选择yes保存。

Launch a graphical conflict  resolution editor.--直接比对文件,修改冲突,点击保存。选择yes解决冲突

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-05-11
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
猜你喜欢
  • 2021-07-23
  • 2022-01-05
  • 2021-08-21
  • 2022-12-23
  • 2022-02-01
相关资源
相似解决方案