Smartgit Use one---merge branch __git&smartgit

Source: Internet
Author: User

1. Use tool: Smartgit

2. Scenario: There are two branches: one own Development Branch, a general framework branch, as shown in the Figure red box, I developed my own on the Hudfang-local branch, I led the development on the Feature/demo branch, he made the changes synchronized to the demo branch, I made a modification commit to the Hudfang-local branch. Now I'm going to merge the code he's newly submitted to the Feature/demo branch to my branch.


3. Methods of consolidation

(1) Commit all the changes I have on the hudfang-local

(2) switching from smartgit to Feature/demo Branch,pull

(3) switch back to Hudfang_local branch (right key check out)

(4) Right-click Feature/demo Branch, select Merge

(5) In the pop-up dialog box select the merge to Working tree

(6) If all changes are not conflict,commit. (Select all changes, right click Commit)


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.