Friday, October 09, 2009

Basic SVN commands

svn help [ … ]
svn co /home/usr
svn st
svn st –v (verbose, show details)
svn diff
svn diff abc.c
svn diff > patchfile (save output to a file)
svn diff | vi -
svn diff -r 2269:2210 main.c
vi <(svn diff)
svn up
svn ci
svn ci abc.c –m “fixed xxx bug”
svn add abc.c (then you need to check in)
svn revert
svn log
svn list (display all files)
svn cat –r 2165 abc.c > abc.c.2165 (show an old version and save it)

No comments:

Post a Comment