代码管理工具svn和git的基本操作

svn 和 git
 
svn 检出
svn checkout svn://地址
更新 下载
svn update
svn update -r 版本
提交
svn commit
安装
yum install svn
yum install subversion
启动
systemctl start svnserve
默认路径
/var/svn
创建版本库
svnadmin create 库名
 
 
git 克隆
git clone git://地址
下载
git pull
git pull -b 分支名
提交
git push

详细阅读:https://www.cnblogs.com/jiayongji/p/6414592.html

原文地址:https://www.cnblogs.com/huifeidezhubao/p/9963630.html