SVN and TortoiseSVN

Source: Internet
Author: User
Tags svn client svn update tortoisesvn

SVN:
Visualsvn:http://www.visualsvn.com/server/download

tortoisesvn:http://tortoisesvn.net/downloads.html


Install two software:

1. SVN server, you can use VISUALSVN servers, where you can add users
2. SVN client, can use TORTOISESVN

The first time you download code from a warehouse: Right-click under any folder, SVN Checkout:
URL of repository: server-side warehouse path, local address: https://127.0.0.1:443 (the port selected at the time of servers-side installation)/svn/test/
Checkout Directory:
Place the remote repository on a local folder path

Basic Operation:
SVN Commit: Commit when the local repository is updated, write comments
SVN Update: Pull the remote repository
Show log: For the file, right-click, you can see the submission record, in the submitted record, right-click, you can select the version needs to revert (in the below path can also right-click, save the file to the local disk)
you can also show log in the root directory of SVN

Conflict
There is a conflict when the commit will produce three files,. Mine is the code after self-improvement, rx,ry,x,y two number smaller is my previous code, the number is larger, is the service side of the code
1. If you want to keep your version, overwrite the original code with mine, and resubmit
2. If you think the other side is correct, revert, this time has been the latest code (not necessarily to do so, but so convenient)
3. If the previous version is considered correct, use a smaller version of the overlay (delete the suffix name directly)

experience: If commit failed! Do not order OK to continue to press the update, the first copy of their own code to one side, then the file revert, then update, and then put on the side of the file rename copy to the same folder, select two conflicting files, Tortoiessvn->diff, On the left is the latest code, the right is mine, after resolving the conflict two people better update

Compared to the history: Show log, at the same time select two versions (for example, now to the 10th edition, then 10/9 to compare, to see if there is no difference, then compare 9/8 version, if there is no difference, and so on to continue to compare), Compare revisions

SVN and TortoiseSVN

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.