tips:linux:svnimport
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | tips:linux:svnimport [2009/06/08 15:33] (current) – created erik | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to import an existing project in Subversion ====== | ||
| + | I always forget how to import an existing project directory in Subversion, so here are the steps. | ||
| + | |||
| + | First, create the directory in the repository: | ||
| + | |||
| + | svn mkdir file:/// | ||
| + | |||
| + | Second, checkout the repos directory: | ||
| + | |||
| + | cd / | ||
| + | cd .. | ||
| + | svn checkout file:/// | ||
| + | |||
| + | Third, add the directory content: | ||
| + | |||
| + | cd mydir | ||
| + | svn add * | ||
| + | |||
| + | Last, perform the initial import: | ||
| + | |||
| + | svn commit -m " | ||
tips/linux/svnimport.txt · Last modified: by erik
