git resolves code conflicts

Source: Internet
Author: User
steps to resolve the conflict: For example, I am now on the locally submitted Feature/add_style_no branch, the information submitted to the merge request back is the merge conflict, and then I need to resolve the conflict
In the local first cut back to the develop branch (the development Branch), git checkout develop then pull the code to the local, git pulling and then cut back to my added branch feature/add_style_no,git checkout Feature/add_style_no then merge the develop branch into my branch, git merge develop, so my Feature/add_style_no branch is now up-to-date and can use Git Status to view conflict resolution conflicts, then use git add < conflict file, add all conflicting files, then commit, git Commit-am "Balabala", finally push to remote, GIT push origin Feature/add_style_no let the project manager merge under the branch

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.