Wednesday, February 03, 2010

mac 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/


thanks alvin

Instructions for using google svn is here

No comments: