Subversion
From Maslab 2011
Subversion is a version control system (like CVS, only without a decade of cruft). Its main advantage is the fact that it tracks changes to your source code base as a whole together, not to individual files.
Using SVN
- To check out a working copy of the project from your team's repository, see Repositories.
- To update your (already checked out) archive: type
svn update
. This updates to the latest version in the repository, letting you know if you've made any incompatible changes locally. - To commit any changes you've made (in all files):
svn commit
. - To see what files have been changed:
svn status
(M
means modified). - To add a new file to be version controlled: make the file like usual, then do
svn add file
. - To copy or rename a file:
svn cp file1 file2
orsvn mv file1 file2
. (If you don't use svn here, it won't know that the file has moved!) - To get help:
svn help
orsvn subcommand help
.
Full documentation: The Subversion Book