How to install and use the TortoiseSVN client on Windows systems and access the local SVN server on the public network

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

image-20230927160859407

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

image-20230927161506531

image-20230927161745771

Double-click the downloaded TortoiseSVN program to start the installation, click [Next] to proceed to the next step:

image-20230927165951118

Click [Next] to proceed to the next step:

image-20230927170041379

Click [Next] to proceed to the next step:

image-20230927170119049

Click [Install] to start the installation:

image-20230927170146854

It prompts that you need to restart to complete the installation. You can restart immediately or restart later. Click OK to continue:

image-20230927170337196

Click [Finish] to complete the installation:

image-20230927170610257

After clicking [Yes], the computer will restart to complete the installation.

image-20230927170658103

After restarting, we double-click the downloaded TortoiseSVN language pack program to install it, and click [Next]:

image-20230927171649682

Check the language pack to take effect and click [Finish]:

image-20230927171953829

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

image-20230927172301200

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.

image-20230927174045806

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

image-20230927175441589

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:

image-20230927175718841

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

image-20230927175946767

Seeing the following interface means the checkout was successful! Click OK

image-20230927180034937

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.

image-20230927180421815

In the pop-up interface, check the files that need to be submitted and click [OK].

image-20230927180547593

After seeing that the submission is completed, click [OK].

image-20230927180638823

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.

image-20230927180755584

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.

Guess you like

Origin blog.csdn.net/Ceylan__/article/details/134523035