码迷,mamicode.com
首页 > 其他好文 > 详细

【SVN命令整理】

时间:2015-04-09 10:26:32      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

 

(在命令行下通过 svn help xxx 来查看xxx命令的文档)

1. add (将文件加入版本管理)

  Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit.

    usage: add PATH...

2. blame (praise, annotate, ann) (显示指定文件的修订版本&作者信息)

  Output the content of specified files or URLs with revision and author information in-line.

  usage: blame TARGET[@REV]...

  If specified, REV determines in which revision the target is first loogked up.

3. cat (显示指定版本文件的内容)

  Output the content of specified files or URLs.

  usage: cat TARGET[@REV]...

4. changelist (cl) (对指定文件进行分组)

  Associate (or dissociate) changelist CLNAME with the named files.
  usage: 1. changelist CLNAME PATH...
       2. changelist --remove PATH...

5. checkout (co) (从代码库中拉取代码)

  Check out a working copy from a repository.

  usage: checkout URL[@REV]... [PATH]

  If specified, REV determines in which revision the URL is first looked up.

 

【SVN命令整理】

标签:

原文地址:http://www.cnblogs.com/sutingwei/p/4405345.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!