"Software use" TORTOISESVN version management software using simple instructions

Source: Internet
Author: User
Tags tortoisesvn

TORTOISESVN version management software use simple instructions

A lot of times when writing a small project don't want to use GitHub and other tools, just want to simply build a version manager locally. Then TortoiseSVN is perfect.

First step: Download TortoiseSVN, http://tortoisesvn.net/downloads.html

Download the corresponding software according to your own operating system, the installation process is very simple. Step by step, after installation, the TORTOISESVN option appears in the right-click menu:

The second step is to create a folder to hold TORTOISESVN data , such as Create E:\Coding\SVN

This folder can only be managed by TORTOISESVN.

Then create the project folder under SVN, for example, if the project name is TestProject, create a TestProject folder, right-click the folder, and under "TortoiseSVN" under "Create Repository here". This SVN folder is the equivalent of a server, where the source code is stored in a centralized location.

When you click Finish, the following dialog box appears, noting this URL address for use by code checkout. Finally click OK.

The third step is to check out the code.

Right-click anywhere else, such as the folder where you want the item to be stored, by clicking "SVN CheckOut"

The following dialog box pops up:

Enter the URL connection you just made, and click OK. The item that you just checked out under the current folder

Fourth Step commit The change code

Currently there is nothing in the project, enter TestProject, add project file inside, can copy existing code file from other place. Here I create a new a.cpp and enter simple content:

Save, then right-a.cpp, click Add under TortoiseSVN

Then right-click on SVN commit and pop up the submit menu.

At this point, you can enter logs, modify records, and so on in the message dialog box.

Click OK. The creation of the code is complete.

If the a.cpp has been modified, how do you see the differences between versions?

Using the method above, modify the A.cpp and then commit.

Add two lines of code to a.cpp first

Then right-A.cpp directly submit, note that there is no need to add.

Write a log on commit:

Fifth Step View Log

Right-click the project folder "TestProject", TortoiseSVN under Repo-browser.

Then all the files are listed, right-a.cpp, select "Show Log" to see all of the A.cpp's changes.

Here you see the record that you just added "project creation" and "Modify code A.cpp"

So apart from looking at the record, can you see the code of the specific changes? Of course

Select one of the above log records, and then double-click the a.cpp below to compare the differences of version two. from which we see the specific line has been modified, all clear.

Conclusion: SVN manages our own Word documents in addition to managing the code. Be able to save our records of changes. Easy viewing history. (TortoiseSVN will automatically invoke the version comparison function of Word document, very convenient)

"Software use" TORTOISESVN version management software using simple instructions

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.