There are lots of tutorials about git pull requests (e.g. here and here) but they explain how to generate a pull request, not how they are received. If the upstream developer and I are using git at the terminal and I generate a pull request, say using git request-pull:
git request-pull master https://git.blah.org/project
How does the upstream development team know that they have an incoming pull request?
Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.
A pull request – also referred to as a merge request – is an event that takes place in software development when a contributor/developer is ready to begin the process of merging new code changes with the main project repository.
Responding to review feedback. You will receive feedback on your pull request. Respond to the feedback by making changes in your working copy, committing them, and pushing them to GitHub when the tests pass locally. As soon as you receive feedback, you can start working on it.
Git itself has no auto-communicating concept of pull-requests. If you Use GitHub or GitLab or any other Git hosting platform that supports pull requests, you open the pull request in the Web interface or via some additional command-line tool like git-spindle
. Then the upstream user gets notified according to the hosting platform like receiving and e-mail or getting it displayed in the web interface.
Using git request-pull
command just creates some text that you can e-mail or instant message or whatever to the upstream user that tells him "please pull from my repository" which of course only works if the user has direct access to your local repository to pull from.
You can also use git format-patch
to generate a patch-set for your intended changes and mail those patches to the upstream user that then can use git am
to apply your changes.
How an upstream project expects contributions depends on the upstream project and you have to ask them how they want to receive contributions.
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