Prime31 Web Design

SVN Command Line Cheat Sheet

Here is a short list of handy SVN commands. This list is in no way exhaustive but it does contain the most used commends (by me at least).

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

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

#---------------
# basic commands
#---------------
svn up             # update
svn add [file]     # add
svn ci -m "msg"    # 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/
Requisite Social Bookmarking Links:
  • Digg
  • Slashdot
  • Mixx
  • StumbleUpon
  • Technorati
  • description
  • del.icio.us
  • Google
  • Facebook
  • Propeller
  • Reddit

Tags: ,

Leave a Reply