Introduction to tortoisesvn

Source: Internet
Author: User
Tags svn update tortoisesvn

The company needs to use tortoisesvn to find this information from the Internet. I think it is good, and I will record it for my reference.

Click here to get the brief introduction.

This lecture is short and casual.

Here is the Subversion Chinese site (the "document" * authoritative * Comprehensive * recommended)

//-------------------------------

The following is a quick reference for basic applications.

1. SVN checkout Repository

In a local new project file, right-click the folder and select

 

The following dialog box is displayed.

 

Enter the repository address and path of the local project directory, and select the check-out option and the desired version number (Head revision is the latest version)

 

Click OK.

In this case, a green "√" appears in the folder. The folder content is as follows:

 

Find the corresponding project file in the trunk directory.

You can edit it.

2.Update

Right-click the file or folder icon to be updated from repository to working copy. Select SVN update.

If you want to update to a specific version, select tortoisesvn à update to revision. In the update dialog box, enter the desired version in the revision field. You can also use the show log button to view the version information.

 

3.Add a file or directory

Right-click the icon of the file or folder that does not belong to repository. Select tortoisesvn à add.

Select the file to be added.

Press OK.

 

Note: Newly Added files must be submitted (COMMIT) before they can be truly put into repository.

4. Submit the modified files or directories

Right-click the modified file or the blank space of the entire directory.

Select the files or directories to be submitted to repository.

Enter the message ). This message should be clear but should not be too simple. To facilitate future version tracking.

 

Press OK.

If there is no conflict

 

If a conflict exists, the conflict must be resolved.

For example, if my colleague and I have changed the same part of a file, SVN will prompt the following out of date error:

 

Update first,

Then handle the conflict:

 

Double-click the conflicted file. Perform merge operations.

 

After merge is complete, click the green check on the rightmost side to mark it as processed.

Enter the description and click OK. You can.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.