edit · history · print

Example

Create repository

 $ cd /home/ilja/svnroot
 $ svnadmin create --fs-type=fsfs my_project

Import the source there

 $ cd /home/ilja/dev/projectX

.... clean the directory of .o files and all other crap ....

 $ svn import . svn+ssh://hostname/home/ilja/svnroot/projectX -m "initial import"

Checkout a working version

 $ cd /home/ilja/tmp
 $ svn co svn+ssh://hostname/home/ilja/svnroot/projectX projectX

... if everything OK, delete the old thing ...

Keeping in sync

 $ svn commit

Sends your changes to the server.

 $ svn update

which updates your working copy (useful if more than one person works on a project simultaneously)

edit · history · print
Page last modified on March 03, 2007, at 11:13 AM