[SVN] The SVN client under windows accesses the SVN server under ubuntu

Table of contents

The first part of windows creates a local repository and connects to the SVN server of ubuntu

Step 0:

Step 1: Create a Windows local repository

Step 2: checkout detection

 Step 3: Enter the previously configured username and password

The second part windows uploads files to the SVN server

Step 1: Add test files

Step 2: Submit

The third part pulls down files from the SVN server

Step 1: Update

Step 2: The update is successful


The first part of windows creates a local repository and connects to the SVN server of ubuntu

Step 0:

1) Preparation:

Download svn client + language pack

Download address: Downloads · TortoiseSVN

For the graphic process of downloading and installing, please refer to another blog:

Download and installation of SVN client (super detailed graphics) - Wyn_'s Blog - CSDN Blog

2) Background:

The blogger wants to set up an SVN server under the ubuntu system, and then use it as a version management tool to manage files on the windows system. So you need to build an SVN server under ubuntu first, then build an SVN client under windows, and finally connect and test the file transfer.

This article mainly introduces how to configure and connect to the SVN server under Windows under the premise that the SVN server under Ubuntu is set up, and how to upload and download test files. This article is divided into three parts, see Table of Contents.

Step 1: Create a Windows local repository

After the installation is successful, create a new directory locally in windows as your local repository, such as:

Step 2: checkout detection

In the C6 folder, right click and select [TortoiseSVN] - [Checkout]

The checkout interface needs to fill in the URL, the format is [svn://IP address/repository name]

Use the [ifconfig] directory to check the IP address on the ubuntu server

My IP is 192.168.50.92; the repository name is C6

 Step 3: Enter the previously configured username and password

(Under ubuntu, configured in the passwd file of the repository)

 After completion, a hidden .svn file will appear under the folder of the Windows local repository -C6 (do not modify this file at will)

 So far, the windows local client configuration is successful


The second part windows uploads files to the SVN server

Step 1: Add test files

Copy the files to be uploaded to the Windows local repository C6

Step 2: Submit

Right-click in the C6 folder and select [TortoiseSVN] - [Submit]

After checking the files you want to upload, fill in the information description for this submission, and click OK

  After submitting, click OK

 At this point, the file is uploaded to the SVN server and the test is completed


The third part  pulls down files from the SVN server

Step 1: Update

Right-click in the windows local repository, select [TortoiseSVN] - [Update]

Step 2: The update is successful

After the update is successful, you can see that the document file uploaded just now has been pulled down under the C6 folder

 At this point, the pull-down of files from the SVN server has been completed

Related reference blog

1) Download and installation of SVN client (very detailed graphics and text)

2) Construction of SVN server under ubuntu

--END--

Guess you like

Origin blog.csdn.net/qq_41539778/article/details/131046273