8

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?

Ziyuan
  • 4,215
  • 6
  • 48
  • 77

1 Answers1

15

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.

Nils Werner
  • 34,832
  • 7
  • 76
  • 98