Thursday, September 30, 2010

Mostly used svn commands

Adding Files to SVN :
svn add theFileNeedToBeAdded

Check in added Files or modified files :
svn ci theFileModifiedOrAdded -m 'Comment about the modification done'

Check out the files from svn :
svn co -uri http://location.of.checking out files

Check the difference with svn
svn diff fileToBeCheckedWithTheServer

Check the status of files with svn
svn status

Get latest version from SVN
svn up

Adding patched files to code :
patch -p0 < theFileToBePatched