1. Install software on client and server side respectively
Search the Internet for the installation package (this is not covered here)
Get 2 installation files
Servers are server-side, and the other one is installed on the client
2. Install SVN server side
Basically consistent next
Special steps are listed below:
After the installation is complete, open the software
Create user, enter account password
Then create a warehouse, in addition to enter the warehouse name, the next step can be
When the warehouse is created, a page is displayed
This is the address that the client uses to connect, such as changing the mosaic part to the server's IP address, and then adding ": Port number" to
Here, the server Setup is complete
3. Install the Client software
Open the software and continue to the next step
4. Upload the code to the server
Enter the address when installing the server software (the mosaic part is changed to IP)
Enter the account password used when creating a user in the server
Add the project folder to the directory
5, after the upload is completed, you need to associate the local with the server code, compare and download the server code to the client, called Checkout
Sure you can
6, Normal, checkout, the folder will have an icon display, if it is Win10, svn icon is not displayed, you can deal with the following
Run →regedit→ to open the registry
Open hkey_local_machine\software\microsoft\windows\currentversion\explorer\shelliconoverlayidentifiers\
Rename the SVN-related icon, preceded by a space, and then restart the computer
Results
7. Sync to server after modification
When the submission is complete, the icon changes to a green icon
8. Download the latest server code to local
Windows, SVN installs SVN under Windows Server and can maintain code versions on the client