Is a "pull request" a core Git concept, or a value add provided by Git hosting platforms like GitHub and Bitbucket?
Is the discussion data stored on the cloud hosts proprietary platform or in something more generically Git?
Yes and (mostly) no.
Pull requests are not stored in git. They are implemented by the hosting platform such as GitHub. However git's distributed design is built to handle the existence of a pull request, whatever mechanism is used to implement that request.
Other SCMs (such as SVN) can't easily allow an unknown third party to make changes and then submit those changes for approval. Git was designed for open source software where anyone can contribute, but those contributions need to be approved. So Git gets round the restriction by allowing a work flow such as:
Here the "pull request" is is just an email.
Hosting platforms such as GitHub have formalised pull requests but also limited them to being hosted entirely on that platform.
None of this is implemented in the git repository itself, but the concept is core to Git's design.
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