【Linux】SVN的安装与使用
2017-04-14 11:01
603 查看
安装svn服务
#debian系列:sudo apt-get install
subversion
#redhat系列:sudo yum
install subversion
#suse系列:sudo zypper
install subversion
常用命令:
Available subcommands:
add
blame (praise, annotate,
ann)
cat
changelist (cl)
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mergeinfo
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolve
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)
每个命令都可以通过--help来获取帮助
例如:#svn list --help
查看SVNHome中所有文件
#svn list https://172.17.160.220:443/svn/DSBU-SVN
检出到test中
#svn checkout https://172.17.160.220:443/svn/DSBU-SVN
./test
更新版本库:
切换目录到之前检出的文件目录,然后执行命令:svn update
问题一:
Error validating server certificate for
'https://172.17.160.220:443':
- The certificate is not issued by a trusted
authority. Use the
fingerprint to validate the
certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: CNWJNDSBUSVR.delta.corp
- Valid: from Apr 7 00:48:16
2016 GMT until Apr 5 00:48:16 2026 GMT
- Issuer:
- Fingerprint:
D2:D0:5E:A5:93:24:C1:76:10:7F:DF:FF:78:A3:EA:33:20:12:E8:64
(R)eject, accept (t)emporarily or accept (p)ermanently?
选择p忽略问题
提交修改
#svn commit -m "说明"
svn本地检出的文件夹地址
例如:svn commit -m "修正tcp异常"
./NetworkProtocol
#debian系列:sudo apt-get install
subversion
#redhat系列:sudo yum
install subversion
#suse系列:sudo zypper
install subversion
常用命令:
Available subcommands:
add
blame (praise, annotate,
ann)
cat
changelist (cl)
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mergeinfo
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolve
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)
每个命令都可以通过--help来获取帮助
例如:#svn list --help
查看SVNHome中所有文件
#svn list https://172.17.160.220:443/svn/DSBU-SVN
检出到test中
#svn checkout https://172.17.160.220:443/svn/DSBU-SVN
./test
更新版本库:
切换目录到之前检出的文件目录,然后执行命令:svn update
问题一:
Error validating server certificate for
'https://172.17.160.220:443':
- The certificate is not issued by a trusted
authority. Use the
fingerprint to validate the
certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: CNWJNDSBUSVR.delta.corp
- Valid: from Apr 7 00:48:16
2016 GMT until Apr 5 00:48:16 2026 GMT
- Issuer:
- Fingerprint:
D2:D0:5E:A5:93:24:C1:76:10:7F:DF:FF:78:A3:EA:33:20:12:E8:64
(R)eject, accept (t)emporarily or accept (p)ermanently?
选择p忽略问题
提交修改
#svn commit -m "说明"
svn本地检出的文件夹地址
例如:svn commit -m "修正tcp异常"
./NetworkProtocol
相关文章推荐
- Linux SVN的安装使用笔记
- linux下svn服务器端安装与使用
- linux安装使用svn
- Linux安装svn和配置使用
- linux安装svn客户端subversion及使用方法
- linux下svn使用(一) - 基本安装
- Linux上svn的安装与使用
- linux上配置subversion服务器端安装配置并使用svn,windows本地检出,设置同步更新服务器的钩子
- linux下svn客户端安装及使用
- Linux中svn安装、配置和使用
- linux下svn的安装和使用
- Linux下svn的安装和使用(1)
- Linux下SVN安装配置和使用中遇到的问题
- Linux中SVN服务器安装与使用以及windows客户端的使用(CentOS-6.5)
- 关于一些Linux SVN的安装使用
- linux下svn的安装和使用
- linux下svn服务器端安装与使用
- Linux配置svn以及TortoiseSVN的安装和使用
- Linux上yum安装svn并使用钩子实现自动更新
- linux系统安装和使用SVN经验和遇到的问题