svn study note 1

OS:Ubuntu 9.04 - the Jaunty Jackalope

This is working in local machine

Inorder to use the version controll under the Subversion, first need to create  a repository to contain all the revisioned files.

1. Create SVN Repository:

$svnadmin create /var/svn/newrepos

Then import a local folder to the repository

2.

$svn import /my/folder file:/// var/svn/newrepos

To see the project under the version controll folder

3.

$svn list /var/svn/newrepos

 Check out the file in the repository

4.

$svn checkout file:///var/svn/newrepos

or

4.

$svn checkout http://svn.collab.net/repos/svn/trunk

or give the checkout a new folder name

5.

$svn checkout http://svn.collab.net/repos/svn/trunk newFolderName

or checkout the a specify sub folder

7.

$svn checkout http://svn.collab.net/repos/svn/trunk/doc trunkDoc

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章