TORTOISESVN building Local repository and simple operation

Source: Internet
Author: User
Tags svn update tortoisesvn

TortoiseSVN is a well-known version control software on Windows that is important for us to manage our own code, especially for a team.

This article explores how to build a local repository.

(1) After installing the TORTOISESVN, you need to create a local master repository, the server, by creating a new folder, such as the D:\SVN\project folder, and right-clicking Create repository here (creating a repository here)

(2) In another working directory, such as D:\workdocument this folder, into the folder, in the blank right-click SVN Checkout, this will pop up the URL to fill the window, we enter File:///D:/SVN/project, The association between the working directory and the server is established.

(3) Then, we can create a new file, we can make the code, the document and so on, after the completion of this, we can right-click Add (tortoisesvn its own definition of the addition), the next time we commit the new and modified files can be submitted to the server, Note: Additions and deletions in the working directory use TORTOISESVN's own defined right-click buttons

(4) Submit, the same as 3, when the working directory has been modified, we can right-click on the working Directory SVN commit, and then can be submitted to the server

(5) Update, when someone modified and submitted, produced a new version, we right-click on the working directory SVN UPDATE, and then keep the version is up to date

(6) Revocation, when we have changed in the local, but did not submit to the server, join want to undo the changes, then we can revert, we can revoke the

(7) Revert to the previous version, such as we now show log, there are 2 versions, version A and version B, we now want to restore from B to a, then we can right-click the working directory, and then update to revision, enter the version we want to restore the serial number 1 can go to version a.

In addition, there are some other functions, such as contrast differences, create branches, locking and so on, not one by one, we can study according to the needs of their own.

TORTOISESVN building Local repository and simple operation

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.