当前位置:网站首页>Installation (detailed illustration) and use of SVN

Installation (detailed illustration) and use of SVN

2022-06-11 08:39:00 Xiao Yi is not bald

One 、Svn(Subversion) What is it? ?

Version controller

  It's a freedom / Open source version control system , A set of files is stored in the central version library , Record every file and directory changes ,Subversion Allows data to be restored to earlier versions , Or check the history of data changes ,Subversion You can access its version library through the network , So that users can operate on different computers .

Two 、Svn Problem solved :

1、 Code integration issues
2、 Team project , When you don't use a version controller , Code changes are hard to blame
3、 The code written by the team member is missing

3、 ... and 、Svn Download and install

Svn Download the official website :

Apache Subversion Binary Packageshttp://subversion.apache.org/packages.html Click on windows

Look at the diagram , Download Server  

The client above it  

  Select the version you want to use :

 

  install client

 

 

 

 

 

  After installation, the right button will be more

  install Server side

 

* The default is 443, But will be Linux Installation conflict for

So change it to 8433

 

 

 

Click on 【Finish】 To complete the installation . After installation , start-up VisualSVN Server Manager, Pictured :

1. stay repositories Right click to create a warehouse

Select from the pop-up right-click menu Create New Repository Or new ->Repository: 

View the warehouse address

 

  2. You need to create users and groups , And you need to assign permissions .

 ①. stay VisualSVN Server Manager Right click the user group... On the left side of the window , choice Create User Or new ->User, Pictured :

 

 ③、 Login is required for access

 ④、 Already logged in SVN The server

 

  3、 ... and 、 Sharing projects

①、 build SSH Project environment

take svn-eclipse Integration plug-ins for copy To eclipse Under the installation directory of dropins, restart eclipse

 ②、SSH Project sharing to svn The server

 

  The team leader usually checks the first :

 

  Where to share the project , Just cope Its path is filled with :

 

 

 ③、 take SSH Submit the contents of the project to svn The server

  Remember not to check the marked , These files are different for everyone

  There will be records after submission

  Hold down Ctrl+N Search for svn:

 

 

 

  Remember to give this website to the team members for connection

 ④、 adopt eclipse Of svn The socket download team leader shared to svn Items in the server

⑤、 test —— Two people upload to each other to see if there is wood and communication

  3、 ... and 、 solve

Mark resolution :

Click on the right -> Editing conflicts

  After modification, it is as follows , Then turn it off

 

  Go back to the original class , Right click ( The tag has been resolved )

Last , Right click -> Submit

  Team development must be on the same LAN .

Ensure normal data interaction between machines .

Ipconfig /ping ip

 192.168.100.4 It's a machine for the rest of the team

If ping Different , Turn off the computer firewall

 

 

原网站

版权声明
本文为[Xiao Yi is not bald]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020508246221.html