首页 > 其他 > 详细

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

时间:2017-04-24 11:15:10      阅读:268      评论:0      收藏:0      [点我收藏+]

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

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

原文:http://www.cnblogs.com/yanduanduan/p/6755459.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!