Subversion primary tutorial

xiaoxiao2021-04-02  225

Don't tell me why, Just Tell Me How.

1. Find a installation package such as RPM or BIN or TAR to install Subveesion. After installing, Client, Server, and Admin are on your machine.

2, first in your directory, such as the root directory "/", execute: Svnadmin Create SvnRoot

3. Go to the newly created svnroot directory, then enter the "conf" subdirectory.

4. Edit Passwd, plus a line "Eric = 123456".

5, execute command: svnserve -d -r / svnroot

The above successfully created and launched a Subversion server. Now we use to access this server. Assume that the IP of the machine above is 192.168.0.123.

6. We have changed to 192.168.0.124 to access the Subversion server. First go back to your own directory, execute: CD ~

7. Execute: svn checkout svn: //192.168.0.123 Work

8. Execute: CD Work

9, VI Test.c Create a test file.

10, execute: svn add test.c

11, execute: svn commit -m ""

12. If it is the first time, SVN may ask you to password, such as "ERIC" password is above step 4 we set "123456".

13. Execute: SVN Help, continue to see help. Note to see SVN LS, SVN MKDir, SVN Add, SVN Delete, SVN Checkout, SVN COMMIT

转载请注明原文地址:https://www.9cbs.com/read-131421.html

New Post(0)