current position:Home>Version management tool - SVN

Version management tool - SVN

2022-05-15 07:29:353L_ csdn

One 、 brief introduction

SVN yes subversion Abbreviation , Is an open source version control system , By adopting the efficient management of branch management system , In short, it is used for multiple people to jointly develop the same project , Share resources , Achieve the ultimate centralized management .
SVN Adopt client / Server architecture , Various versions of the project are stored on the server , The developer will first get the latest version of the project from the server , And copy it to this machine , Then on this basis , Each developer can develop independently on their own client side , And you can submit new code to the server at any time . Of course, you can also update the latest code on the server , In order to maintain consistency with the versions used by other developers .

Two 、 Download and install

2.1、 Download and install VisualSVN-Server( The server )

Purpose : If you want to build a SVN The server , Provide it to the internal personnel of the project team , You need to perform this step .

Download address

Choose to install according to your own system version , Install step by step according to the prompts
 Insert picture description here

2.2、 Download and install TortoiseSVN( client )

Download address

Choose to install according to your own system version , Install step by step according to the prompts
 Insert picture description here

3、 ... and 、VisualSVN-Server Create a project

Click on “Repositories”-> Right click -> choice “Create New Repository”
 Insert picture description here
The custom project name is :“demo1.0”

 Insert picture description here

 Insert picture description here  Insert picture description here
 Insert picture description here
 Insert picture description here

 Insert picture description here

Here's the click “demo1.0”-> Right click ->“ newly build ”->"Project Structure" New project , Defined as the project name “projectDemo”

 Insert picture description here
Here's the click “projectDemo”-> Right click ->“Copy URL to Clipboard”

Then find an empty directory on the computer , Right click , choice “SVN Check out the ”
 Insert picture description here

 Insert picture description here
Now you can add directories or files under this project to try

Four 、 Submission of new local documents

Submission steps :

4.1、 For example, in the following path , newly added test.txt

 Insert picture description here

4.2、 In the blank of the folder , Right click , choice “TortoiseSVN”-》“ increase ” ( This is the time , Just added files in the local warehouse , Not submit )

 Insert picture description here

 Insert picture description here

 Insert picture description here

4.3、 In the blank of the folder , Right click , choice “SVN Submit ”-》“ increase ” ( This is the time , Just added files in the local warehouse , Not submit )

 Insert picture description here

 Insert picture description here

5、 ... and 、 Share with members of the project team to visit

To find the corresponding URL
“test.txt” Right click on the -》“TortoiseSVN”-》“ Version library browser ”

 Insert picture description here
there URL, Need to put desktop-ejv14vh Change the host name to the name of the computer ip The address will be visited by the project team

https://desktop-ejv14vh/svn/demo1.0/projctDemo

Open as shown below :

 Insert picture description here

copyright notice
author[3L_ csdn],Please bring the original link to reprint, thank you.
https://en.chowdera.com/2022/131/202205102139332452.html

Random recommended