`

Svn 常用命令

    博客分类:
  • Svn
阅读更多

This command mainly have two purposes.
One is compare the base version and nearly change in local.
(The base version is the version which we change on this.)
command : svn diff
( the same operation like compare with-->base Revision)
The second use is to find out what has changed between two revisions using: svn diff -r revision1:revision2 FILENAME. For example: svn diff -r 168:169 index.xml will output a diff showing the changes between revisions 168 and 169 of index.xml.

 

 

================

svn di filename

 

svn add filename
svn ci filename -m ‘注释’

 

================

svn  log filename
svn up -r reversion id

In IDE,team-->show history-->compare
can find all the change between the two histories.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics