Files
cheatsheet-tldr/tldr/svn
2025-11-04 00:19:48 +00:00

34 lines
854 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# svn
> Subversion client tool.
> More information: <https://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.svn>.
- Check out a working copy from a repository:
`svn {{[co|checkout]}} {{file:///path/to/repository}}`
- Bring changes from the repository into the working copy:
`svn {{[up|update]}}`
- Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit:
`svn add {{PATH}}`
- Send changes from your working copy to the repository:
`svn {{[ci|commit]}} {{[-m|--message]}} {{commit_log_message}} [{{PATH}}]`
- Display changes from the last 10 revisions, showing modified files for each revision:
`svn log {{[-vl|--verbose --limit]}} {{10}}`
- Display help:
`svn {{[h|help]}}`