(reprint) How a novice can correctly understand the meaning of "PR (Pull request)" in GitHub

Source: Internet
Author: User

I know from the two answers, from the actual meaning and linguistics point of view to tell you how to understand the PR, very concise, this understanding is very good, will solve the novice just see the word PR (pull request) confusion. Practical Significance:There is a warehouse, called Repo A. If you want to contribute to the code, first fork this repo, so in your GitHub account has a repo A2,. Then you work under this A2, Commit,push and so on. Then you want the original warehouse repo A to merge your work, you can launch a pull request on GitHub, which means request repo A's owner to merge branches from your A2. If it is approved and formally merged, then you contribute to project A.

Anonymous user
Links: https://www.zhihu.com/question/21682976/answer/20835845

Linguistics:I explain from a purely linguistic perspective why the phrase "pull request" is so confusing.

Say the right thing first: Pull request is a request, and its purpose is to get others to take your things.

However, pull and request two nouns are directly connected to form a partial positive phrase, what is the relationship between the two is uncertain.
Thinking : What is the relationship between the two words in the four phrases of water hose, rubber hose, fire hose, and garden hose?
The first time I saw the pull request phrase, I mistakenly thought that the purpose of this request was to ask others to allow themselves to be pulling others ' things.

In addition, pull and request also have the verb meaning, when put together, may also be misunderstood as a verb-like phrase (pull as verbs, request as a noun).

Many words in English have a variety of parts of speech, in addition to a string of nouns directly linked to the syntax of the phrase is more tolerant, these two properties are easily abused, resulting in communication inconvenience.
Just as Chinese also has these two features-you replace the "pull request" above with the "fetch requests" to see if it still holds?

Of course, once you're familiar with GitHub's workflow, you may no longer feel that the pull request phrase is ambiguous or confusing.
This is a typical example of expertise in eliminating ambiguity.


Wang Yun Maigo
Links: https://www.zhihu.com/question/21682976/answer/100511983

(reprint) How a novice can correctly understand the meaning of "PR (Pull request)" in GitHub

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.