Example: https://github.com/BVLC/caffe/pull/1731
Sometimes I need to pull this kind of pull requests because I open an issue, and someone else provides a fix. Then the project collaborator may ask me to verify whether the fix works before his merging. So how to pull these pull requests instead of manually doing changes to my local repository?
The changes you want can be got from the source of the pull request. To do this, clone the user's repository ( git://github.com/berstend/frappe.git ), and then check out the branch he created the pull request from ( feature/mongoose-support ).
You can create a new pull request that targets the first one, or work on an existing pull request and just continue working in the same branch. The existing pull request will pick up your commits once you push them.
You may choose to close a pull request without merging it into the upstream branch. This can be handy if the changes proposed in the branch are no longer needed, or if another solution has been proposed in another branch.
With auto-merge, pull requests can be set to merge automatically when all merge requirements are met. No more waiting on slow CI jobs or tests to finish just so you can click the merge button!
You can fetch pull requests
git fetch origin pull/1731/head:shelhamer-cudnn-r2
git checkout shelhamer-cudnn-r2
and after testing, go back to master
.
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