美文网首页
SVN常用命令

SVN常用命令

作者: iscona | 来源:发表于2017-02-22 15:04 被阅读0次
  1. 检出项目
svn checkout svn:192.168.1.1/pro/domain
  1. 更新版本
svn up
svn update 
默认将当前目录以及子目录下的所有文件都更新到最新版本
svn update test.php
svn update -r 200 test.php 将版本库中的文件test.php还原到版本200
如果在提交的时候提示过期的话,是因为冲突,需要先update,修改文件,然后清除svn resolved,最后再提交commit
  1. 添加到操作区
svn add test.php
  1. 从操作区移除
svn revert test.php

相关文章

网友评论

      本文标题:SVN常用命令

      本文链接:https://www.haomeiwen.com/subject/qnhmwttx.html