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