SVN的常见图标:
svn版本冲突:在旧的版本上进行修改,就会造成版本冲突。
applocationContext.xml.mime文件:我修改的
applocationContext.xml.r7:代表的是旧版本的文件
applocationcontext.xml.r9:代表新版本文件
applicationContext.xml代表的是版本冲突文件
版本冲突文件
<<<<<<< .mine
<bean id="customerService" class="com.itheima.customer.service.CustomerServiceImpl"/>
<bean id="customerDao" class="com.itheima.customer.dao.CustomerDaoImpl"/>
||||||| .r7
<bean id="customerService" class="com.itheima.customer.service.CustomerServiceImpl"/>
=======
<bean id="userService" class="com.itheima.user.service.UserServiceImpl"/>
<bean id="customerService" class="com.itheima.customer.service.CustomerServiceImpl"/>
<bean id="userDao" class="com.itheima.user.dao.UserDaoImpl">
=======
<<<<<<< .mine ||||||| .r7之间是我修改完成后的
||||||| .r7 =======之间是就版本的文件
======= =======之间是新版本文件
解决版本冲突:
删除我修改的(applicationContext.xml.mine),旧版本(applicationContext.xml.r7
以及新版本文件(applicationContext.xml.r9)。
在版本冲突文件(applicationContext.xml)上进行修改
在eclipse上安装svn插件
在[svn插件下载地址][https://tortoisesvn.net/downloads.html]
site-1.10.11.zip不需要解压,放在没有中文和空格的目录中
打开eclipse->help->Install New Software
点击add 在location中选择下载好的svn地址进行安装
简单操作:
将项目分享到svn:
右键项目->Team->Share Project 这仅仅只是将当前项目添加到svn版本控制上
如果需要将项目里的内容完全提交过去
右键项目->Team-提交
提交完成 项目上会出现小圆柱,代表项目和svn资源库同步
在SVN资源库研究中
新建->资源库位置 拷贝svn上项目的url
可以将 svn版本控制上的东西下载过来
版本冲突:
右键项目->更新 出现冲突文件
右键项目->编辑冲突 完成之后
选择三个多余的文件 标记为解决
然后进行提交
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。