|
I just got SVN (Subversion) installed on my MacBook Pro, so I'm throwing these SVN commands out here as a reminder to myself. These are examples of commands that can be used from the Mac OS X command line (i.e., from the Terminal):
#-----------------
# 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/
|