Saturday, April 12, 2008

Source control using SVN

Create a SVN repository

svnadmin create repository_path
Eg. svnadmin create /home/vishal/svn/proj1

This creates a local svn repository which will hold the different versions of the project files


Create a directory for the project and the following directory structure inside it



Now goto the project directory and import it's contents to the svn repository using the following command

svn import . repository_path

Eg. cd /home/vishal/projects/proj1
svn import . file:///home/vishal/svn/proj1

0 Comments:

Post a Comment

<< Home