Welcome 微信登录

首页 / 操作系统 / Linux / Linux下使用一些常用的svn命令

1. 更新svnsvn up, 运行该命令后的状态有:A Added
D Deleted
U Updated
C Conflict
G Merged如果出现C的话,一定要自己解决冲突,否则的话提交不了;手动解决掉冲突后,需要运行svn resolved命令,将冲突的版本文件删除掉。2. 第一次从svn server上下载sourcesvn checkout svn://ipaddress/your_reposvn co svn://ipaddress/your_reposvn checkout http(s)://ipaddress/your_reposvn co http(s)://ipaddress/your_repo3. 给svn追加新的文件svn add yourfilesvn commit4. 从svn删除文件svn delete yourfilesvn commit5. 本地文件的状态svn status, 运行该命令后的状态有:" "  No modifications.
"A"  Item is scheduled for Addition.
"D"  Item is scheduled for Deletion.
"M"  Item has been modified.
"R"  Item has been replaced in your working copy. This means the file was scheduled for deletion, and then a new file with the same name was scheduled for addition in its place.
"C"  The contents (as opposed to the properties) of the item conflict with updates received from the repository.
"X"  Item is related to an externals definition.
"I"  Item is being ignored (e.g. with the svn:ignore property).
"?"  Item is not under version control.
"!"  Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).
"~"  Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.在Linux下安装CUnit使用SecureCRT或者Putty通过ssh登录Linux主机很慢相关资讯      Linux命令 
  • 48 字节命令可令 Linux 系统当机!  (今 07:55)
  • 在Linux笔记本上执行这句命令能致  (02月02日)
  • .NET开发必会的Linux命令  (12/20/2015 10:32:03)
  • 运维工程师必会的109个Linux命令  (03月09日)
  • 有趣的Linux命令行:随机输出唐诗  (12/28/2015 20:14:23)
  • 10 个 Linux 中的 passwd 命令示例  (10/29/2015 10:14:30)
本文评论 查看全部评论 (0)
表情: 姓名: 字数

版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图