By Alvin Alexander. Last updated: June 4, 2016
SVN commands reference FAQ: Can you share some SVN command examples (an SVN commands cheat sheet)?
I just got SVN (Subversion) installed on my MacBook Pro, so I'm throwing these SVN commands out here as a reminder to myself. This is a list of SVN command examples that can be used from the svn command line client:
#----------------- # 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/
I hope these SVN command examples are helpful. They're not much, but sometimes all you need is a little reminder of the SVN command syntax.