Checkout:
svn co URL[@REV]... [PATH]
Commit:
svn ci [PATH]
--depth ARG : limit operation by depth ARG ('empty', 'files',
'immediates', or 'infinity')
Log:
svn log [PATH][@REV]
URL[@REV] [PATH...]
-r ARG1[:ARG2] :
NUMBER: revision number
{DATE}: revision at start of the date, ex: {2015-01-01}
HEAD: latest in repository
BASE: base rev of item's working copy
COMMITTED: last commit at or before BASE
PREV: revision just before COMMITTED
Difference:
svn diff [-r ARG1[:ARG2]]
Merge:
Roll back to the old version:
$ svn up
$ svn merge -rHEAD:{NUMBER} [PATH]
$ svn ci
Edit Property:
svn pe svn:externals .
Note: svn recognizes the following special versioned properties
svn:ignore - A newline separated list of file glob patterns to ignore.
svn:keywords - Keywords to be expanded.
svn:executable - If present, make the file executable.
svn:eol-style - One of 'native', 'LF', 'CR', 'CRLF'.
svn:mime-type - The mimetype of the file.
svn:externals - A newline separated list of module specifiers, each of which consists of a URL and a relative directory path.
svn:needs-lock - If present, indicates that the file should be locked before it is modified.
沒有留言:
張貼留言