SVN Commands

Basic SVN Commands

Here are the basic SVN commands that every developer and admin should know.

svn admincreate

The svn admincreate command creates a new, empty repository. 

svn import

The svn import command commits an unversioned tree of files into a repository (and creates intermediate directories, if needed). 

svn checkout

The svn checkout command checks out a working copy from the repository. This command is sometimes shortened to svn co.

svn commit

The svn commit command sends your changes back to the SVN server.

svn add

The svn add command will add a new file to the repository — but only after you’ve done a svn commit.

svn delete

The svn delete command will delete a file from your working copy of the repository. 

svn list

The svn list command allows you to see a list of files in a repository without creating a working copy. 

svn diff

The svn diff command reveals the differences between your working copy and the copy in the master SVN repository.

svn status

The svn status command prints the status of working copy files and directories.

svn info

The svn info command displays information about a local or remote item.

svn log

The svn log command shows log messages from the repository.

svn move

The svn move command moves a file from one directory to another (or renames it). 

svn merge

The svn merge command combines two different versions into your working copy.

svn revert

The svn revert command reverts changes in your working copy, as well as property changes.

svn update

The svn update command updates your working copy with changes from the repository.

svn shelve

The svn shelve command stores your changes without submitting them.

svn help

The svn help command provides a summary of available commands.

Comments are closed.