How to pull only one branch from remote?

GitHub: Why is the "pull request" called "pull request"?

  • In GitHub a request to merge code into another branch (often "Master") is called "Pull request". In GitLab it's called "Merge request" which is more straight forward to me (because one wants that is code gets merged into another branch).

  • Answer:

    The Pull Request terminology originated from Git's git-request-pull(1): http://git-scm.com/docs/git-request-pull In Git terminology, you're requesting someone to pull your changes into their repository. The name — like most things that Git came up with — is a little confusing, admittedly. Pull Requests on GitHub came from a time where we only supported the Git protocol for your code, so accordingly the terminology lines up with what Git suggests.

Zach Holman at Quora Visit the source

Was this solution helpful to you?

Other answers

What you are requesting the admin of the repository to do is pull your changes from your copy of the repository into theirs. In this case your repository is a remote and theirs would be the local copy. So pull sorta makes sense if you think about it from their side. Also, the git command to merge in your changes is: "git pull ..." So it is most likely named that way because it is a request for them to run that command.

Rob King

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.