The Blog

Basic SVN Commands

#-----------------
# start svn server
#-----------------
sudo -u www /sw/bin/svnserve -d -r /Users/al/svnrepo

#-------------------
# checkout a project
#-------------------
svn checkout svn://localhost/project1

#-------------------
# basic svn commands
#-------------------
svn up             # svn update
svn add [file]     # svn add
svn ci -m "msg"    # svn commit
svn log

#--------------------------
# file/directory management
#--------------------------
svn copy foo bar
svn mkdir foo
svn mv foo bar
svn rm foo

#------
# other
#------
svn status
svn diff
svn revert
svn info
svn list URL
svn list svn://localhost/

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!

You must be logged in to post a comment.