GitHub tips for creating a pull request to create pulling requests

Source: Internet
Author: User

A pull request is created to collaborate on changing the repository. These changes produce a branch that ensures that the main branch remains clean and tidy.

Submissions are different from commits

Before you can open a pull request, you must create a branch and then add the commit to the branch. Pull requests can only be opened when there is a difference between your branch and the upstream branch.

1. Switch to the library you want to change

2. In the "Branch" menu, select the branch that contains your submission.

3. On the right side of the "Branch" menu, click Compare and Review

4. The comparison page will automatically select the basic and contrast branches . To change, click Edit

5. On the Compare page, click Create Pull Request

6. In your pull request, enter a title and description

7. Click Create Pull Request

When your pull request has been reviewed, it can be merged into the library .

reference :https://help.github.com/articles/creating-a-pull-request/

SOURCE-https://github.com/zhangruinian/github-help/blob/master/creating%20a%20pull%20request%20%e5%88%9b%e5%bb%ba% 20pull%20%e8%af%b7%e6%b1%82.md

GitHub tips for creating a pull request to create pulling requests

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.