svn版本分支及冲突解决笔记

mac2022-06-30  20

转载: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解决冲突

转载于:https://www.cnblogs.com/yanduanduan/p/6755459.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)