SVN merge Code 2: Merge the code between two versions of the Branch to the trunk

Source: Internet
Author: User

Background: A branch was created from the trunk a few months ago due to development needs. Now the development is complete and tested in a separate test environment and the branch code has been merged to the trunk, at the same time, another colleague modified the Code with our branch. After we merged the branch code into the trunk, his Code was submitted to the branch, in this case, he wants to merge the Code submitted to the branch into the trunk.

The procedure is as follows:

1. First, obtain the version number of the Branch before the branch is submitted (set to version A) and the version number of the branch after the branch is submitted (set to Version B ). To obtain the branch version number, right-click the project and choose "team" to display the resource history.

2. Merge code:

Select the folder for code merging, or select the entire project, right-click-team-merge-select merge two different tree, and click Next, as shown in the following information:

 

3. Click Next to finish. For conflicting files, select to resolve them later.

4. For details about how to merge conflicting files, see.

 

Note: Merge the code between the two major versions into the same branch.

 

For methods to merge the branch code into the trunk, see: http://www.cnblogs.com/step-by-step1/p/3989127.html

 

SVN merge Code 2: Merge the code between two versions of the Branch to the trunk

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.