以下節錄書的內容
we suggest that each project root contain a
trunk
subdirectory for the main development line, a branches
subdirectory in which specific branches (or collections of branches) will be created, and a tags
subdirectory in which specific tags (or collections of tags) will be created.需要安裝subversion
sudo apt-get install subversion
方法
- 建立目錄
mkdir subversioncommand
cd subversioncommand
- 建立三個標準子目錄
mkdir trunk
mkdir branches
mkdir tags
- import to subversion server
cd ..
svn import ./subversioncommand/ http://Subversion-Path/subversioncommand
最後使用svn list來看server端的目錄結構
svn list http://Subversion-Path/subversioncommand
branches/
tags/
trunk/
沒有留言:
張貼留言