This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
SVN, is a versioning software and a revision control system distributed under an open source license.
Table of contents¶
Check out a working copy from a repository:
$ svn checkout http://some_app.code.com/svn/projectname/ $ svn co http://some_app.code.com/svn/projectname/
- ... With a different username:
Bring changes from the repository into your working copy. Otherwise, it synchronizes the working copy to the revision given by the
Print the status of working copy files and directories:
Add files, directories, or symbolic links in your working copy for addition to the repository:
$ svn add(without reverting local edits):
Delete an item from a working copy or the repository:
revert all modifications to exactly match the repository into your working copy (at the root of the SVN project):
Send changes from your working copy to the repository:
Display commit log messages:
Show author and revision information inline for the specified file:
Displays the differences between two revisions or paths:
Resolve conflicts on working copy files or directories: After updating, if SVN indicates that a conflict has been discovered, it should be postpone (
-poption), than edited in order remove the conflict markers and resolve the conflict. Finally, the resolve command shall be used to inform SVN about the conflict resolution:
If this cheat sheet has been useful to you, then please consider leaving a star here.