Article directory
Preface
TortoiseSVN is an open source version control system that is integrated with Apache Subversion (SVN) to provide a user-friendly interface to facilitate users for version control and team collaboration. It is widely used in the fields of software development and project management.
TortoiseSVN is mainly used to manage version control of project code. It can track file modifications, record change history, resolve conflicts, etc. It enables users to intuitively perform SVN operations through a graphical interface and context menu, such as submitting files, updating code, creating branches, merging changes, etc.
In the previous tutorial, we learned how to build the VisualSVN service on the Windows system and combine it with intranet penetration to achieve public network access. So this tutorial will talk about how to install and use the TortoiseSVN client on Windows systems, and combine it with cpolar intranet penetration to submit files to the local SVN server on the public network anytime and anywhere.
1. Download and install the TortoiseSVN client
First, go to the official website and select the appropriate version of the application to download. In this tutorial, the version TortoiseSVN 1.14.5 - 64-bit
was selected.
Download address: https://tortoisesvn.net/downloads.html
Then scroll down the page and select the language pack that needs to be downloaded. In this tutorial, Simplified Chinese is selected. The file name of the language pack obtained after downloading is:LanguagePack_1.14.5.29465-x64-zh_CN
Double-click the downloaded TortoiseSVN program to start the installation, click [Next] to proceed to the next step:
Click [Next] to proceed to the next step:
Click [Next] to proceed to the next step:
Click [Install] to start the installation:
It prompts that you need to restart to complete the installation. You can restart immediately or restart later. Click OK to continue:
Click [Finish] to complete the installation:
After clicking [Yes], the computer will restart to complete the installation.
After restarting, we double-click the downloaded TortoiseSVN language pack program to install it, and click [Next]:
Check the language pack to take effect and click [Finish]:
2. Create a checkout folder
At this point, all installations are complete, and two more options will appear in the right-click menu on the desktop:
SVN检出
andTortoiseSVN
First create a new folder in the disk directory where you plan to create the checkout file, and then right-click the menuSVN检出
Create a new checkout file:
In this tutorial, we choose to create the folder SVNtest and files on the D drive. You can choose the path by yourself.
The repository URL here needs to be selected to upload the repository address of the SVN server.
For this address, we used the cpolar intranet penetration tool in the previous SVN server installation tutorial to generate an address accessible from the public network.
For details, please clickTo build VisualSVN service on Windows system and combine it with intranet penetration to achieve public network access to view
Open this link in your browser: http://mysvn.vip.cpolar.cn
Click Checkout to see the project repository address used to upload.
Copy this address and paste it into the repository URL box that needs to be filled in in the picture above, and then click OK:
Then in the pop-up interface, enter the username and password assigned by the SVN server, which are the ones we set in the previous tutorialadmin
and 123456
Seeing the following interface means the checkout was successful! Click OK
3. Create and submit files
Now you can create a new file in the folder that needs to be checked out. To demonstrate the test, I just created a test text svntest, then right-click on the blank space and select SVN Submit.
In the pop-up interface, check the files that need to be submitted and click [OK].
After seeing that the submission is completed, click [OK].
4. Public network access test
At this time, we can enter the fixed public network address generated by the cpolar intranet penetration tool in the browser, and access the VisualSVN server on the public network anytime and anywhere to view the files submitted through TortoiseSVN.
Enter the fixed public network address generated by the cpolar intranet penetration tool, and you can access the VisualSVN server on the public network anytime and anywhere to view the files submitted through TortoiseSVN.