Saturday, October 29, 2011

Subversion Import

I always need to figure out what exact command to use to import a project into our subversion repository so here are the steps I use:


1.  In Terminal, navigate to directory right above the project directory you want to add to the repository.
2.  Assuming your project is named "project1", issue the following command:
     svn import -m "Initial Import" project1 <url to repository>/project1


The result of this will be that the files in "project1" will be now in project1 in your repository (i.e. <url to repository>/project1 will contain whatever files were in project1).

No comments:

Post a Comment