2014-01-27 22:09:15 +04:00
|
|
|
# svn
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Subversion command line client tool.
|
2019-06-03 03:06:36 +03:00
|
|
|
> More information: <https://subversion.apache.org>.
|
2014-01-27 22:09:15 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Check out a working copy from a repository:
|
2014-01-27 22:09:15 +04:00
|
|
|
|
|
|
|
`svn co {{url/to/repository}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Bring changes from the repository into the working copy:
|
2014-01-27 22:09:15 +04:00
|
|
|
|
|
|
|
`svn up`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit:
|
2014-01-27 22:09:15 +04:00
|
|
|
|
2019-02-01 19:50:52 +03:00
|
|
|
`svn add {{PATH}}`
|
2014-01-27 22:09:15 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Send changes from your working copy to the repository:
|
2014-01-27 22:09:15 +04:00
|
|
|
|
2019-02-01 19:50:52 +03:00
|
|
|
`svn ci -m {{commit log message}} [{{PATH}}]`
|
2014-01-27 22:09:15 +04:00
|
|
|
|
2018-11-08 22:15:18 +03:00
|
|
|
- Display changes from the last 10 revisions, showing modified files for each revision:
|
|
|
|
|
|
|
|
`svn log -vl {{10}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Show detailed help:
|
2014-01-27 22:09:15 +04:00
|
|
|
|
|
|
|
`svn help`
|