beginning svn under ubuntu

1. apt-get install svn
2. I wish the files under the directory:/home/lai/tmp_lai/wahhot_v2 token into svn control.
3. I choose the directory /home/lai/tmp_lai/svn_wah to be the svn root directory.
4. run the commond :
svn import wahhot_v2 file:///home/lai/tmp_lai/svn_wah/v2 -m "Initial import"
to set up the svnroot data to control the files in wahhot_v2.
5. when we want to get a working copy of wahhot_v2, we just need to run:
svn checkout file:///home/lai/tmp_lai/svn_wah/v2 ${your_destination}
you can work with svn version control in the dir ${your_destination}
6.then I import some other directory in the svn root:
svn import someother file:///home/lai/tmp_lai/svn_wah/someother -m "Initial import"
7. I want to see how many projects are there in the svnroot:
svn list file:///home/lai/tmp_lai/svn_wah/

你可能感兴趣的:(SVN,ubuntu,UP)