How to add a project to the SVN?
I am new for SVN and I need to add my project to SVN.I dont know how to create an Hostname for the proj开发者_JS百科ect I need to add in SVN.
Please guy's help me to get knowledge about SVN.
Thanks to all, Monish.
Read the book on svn - http://svnbook.red-bean.com/ to get started.
Check out the quick reference to keep a mental map of all the commands : http://www.collab.net/community/subversion/articles/SvnQuickReferenceCard.html
To get started, you could do the following. Read the details in the book.
- Create a repository
- svnadmin create /svnrepos
- Create a user
- vi /svnrepos/conf/svnserve.conf
- anon-access = none
- auth-access = write
- password-db = passwd
- vi /svnrepos/conf/svnserve.conf
- Add a password file
- vi /svnrepos/conf/passwd
- add users in the format : user = password
- vi /svnrepos/conf/passwd
- Import your existing project
- svn import /projects/myproject file:///svnrepos/myproject
- Start the server:
- svnserve -d
- Try checking out:
- svn co svn://localhost/svnrepos/myproject
Use svnadmin create, then use svn checkout to get a copy of it.
http://svnbook.red-bean.com/en/1.1/re29.html
精彩评论