How can I fetch an unmerged pull request for a branch I don't own?

后端 未结 13 1531
北荒
北荒 2020-11-27 10:55

I need to pull in a specific pull request (that hasn\'t been processed into the main stream yet) in the NServiceBus repo:

https://github.com/johnsimons/NServiceBus/c

13条回答
  •  醉梦人生
    2020-11-27 11:13

    git pull origin pull/28/head
    

    Or

    git fetch origin pull/28/head:28
    git checkout 28
    

    Can I pull a not-yet-merged pull request?

提交回复
热议问题