HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

svn — Subversion client tool. More information: <https://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref

Submitted by: @import:tldr-pages··
0
Viewed 0 times
svncommandclientsubversioncliinformationtoolmore

Problem

How to use the svn command: Subversion client tool. More information: <https://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.svn>.

Solution

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]}}

Code Snippets

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}}

Context

tldr-pages: common/svn

Revisions (0)

No revisions yet.