CentOS中升级SVN
1.创建源
/etc/yum.repos.d/svn.repo
[WandiscoSVN] name=Wandisco SVN Repo baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.14/RPMS/$basearch/ enabled=1 gpgcheck=0
2.卸载原文件
yum remove subversion*
3.安装SVN
yum clean all yum install subversion --enablerepo=WandiscoSVN
4.查看SVN版本
svn –version
5.下载代码
svn co https://192.168.1.188/svn/Test-Repository/项目模板/JavaWeb项目/Java后端模板/V2.0/springboot-project ./ --username xxxxxx svn co https://192.168.1.188/svn/Test-Repository/%E9%A1%B9%E7%9B%AE%E6%A8%A1%E6%9D%BF/JavaWeb%E9%A1%B9%E7%9B%AE/Java%E5%90%8E%E7%AB%AF%E6%A8%A1%E6%9D%BF/V2.0/springboot-project ./ --username xxxxxx
6.忽略一些文件
参考:https://blog.csdn.net/weixin_36453621/article/details/119373782
vim .svnignore
-
target
.vscode
-
svn propset svn:ignore -R -F .svnignore .
----------------------
VSCode中开发参考:https://blog.csdn.net/int_Qin/article/details/115213530
7.常用命令
svn diff --summarize svn add ./ svn delete ./ svn delete -m "清理" src/main/java/MyTest.java svn commit -m "" ./ svn update
--------------------