Go to your repository on GitHub and you'll see a button “Compare & pull request” and click it. Please provide necessary details on what you've done (You can reference issues using “#”). Now submit the pull request. Congratulations!
A pull request is an event in Git where a contributor asks a maintainer of a Git repository to review code they want to merge into a project.
Both Git (the software) and GitHub (the web service) have a concept called "pull request", and unfortunately they are not exactly the same thing.
The native Git request-pull
command has a very short manual page with the following one-sentence description:
Summarizes the changes between two commits to the standard output, and includes the given URL in the generated summary.
This is a fairly low-level command that generates a short summary of changes that is suitable for posting to a mailing list. Other users can use the URL published in this "pull request" to manually pull changes into their own repository.
When using the GitHub web service, a Pull Request is a full-featured interactive collaboration tool. A GitHub pull request has:
It is worth noting that Linus has his own opinion on the relative utility of these two features.
The two "pull request" features described above are similar in spirit but completely different in implementation. In particular, the git request-pull
command cannot be used to create a new Pull Request on GitHub. You have several choices if you want to support "pull request" type functionality:
git request-pull
and a mailing list. Using this method requires a lot more discipline from your engineers, as it's easy to misplace or mishandle mailing list messages. There is no central accountability associated with this method.The term "pull request" is not a github specific term.
There is a git request-pull command, you can read more about it here: http://linux.die.net/man/1/git-request-pull
For some more in depth explanations and save you some googling look at:
This is not a new feature BTW.
EDIT: This alternative answer was made before the originally accepted answer by @Greg Hewgill was rewritten. I posted it because this is the answer I was looking for, and I think it suited the question which asked about doing pull requests for users not necesarilly using github (Yes, not everyone using git uses github, at least not all the time). Now that the orignal answer was rewritten making this difference explicit I'll leave this answer the way I originally posted it just for the record.
The "git way" of doing this would be that all the developers have their own public bare repository (read acces to all, write acces for the developer himself) on the server as their "origin". And if you like an additional "trunk" (or "stable" or whatever you want to call it) bare repo that some or all developers have write access to. The developers mirror their repo on their public repo, and pull from the other developers. That way you don't have to worry if you push something to your public repo that doesn't work yet. (The developers can just pull from you to a test branch and see if it works.) When you have a stable canonical branch you can push it to the "trunk" repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With