How do I get the files from a public github repo pull request on my local computer?
How do I get the files from a public repo pull request on my local computer?
A developer submitted a pull request to a public repo (to which I don't have w开发者_如何学运维rite access).
I want to test his code before I acknowledge the pull request.
How do I get the master of the public repo + his pull request on my local in order to compile and test it?
You can click the 'info' icon to get the git commands you need to run.
You can also get any pull request as a patch by appending .patch to the url. For instance:
https://github.com/github/github-services/pull/146.patch
精彩评论