CentOS 安装SVN客户端

CentOS 安装SVN客户端

1、安装

sudo yum install subversion

2、checkout

svn co https://vip.svnspot.net/asiali.test/ --username=asiali

下一步,需要输入账户名的密码,回车确认。

Authentication realm: <https://vip.svnspot.net> SVN Repositorys
Password for 'asiali': ******
#cd asiali.test #进入刚检出的目录
#vi testRepo.txt #生成一个新文件
#svn add testRepo.txt #执行添加svn文件命令
#svn ci testRepo.txt -m 'ci test' #提交刚生成的文件并写上注释
Adding         testRepo.txt
Transmitting file data .
Committed revision 2.

3、 更新

svn update

4、删除文件

svn delete file.txt
svn commit -m "aaaaa"

5、查看列表

svn list
发布了38 篇原创文章 · 获赞 32 · 访问量 627

猜你喜欢

转载自blog.csdn.net/Asia1752/article/details/103363604
今日推荐