如何使用git获取pull request对应的补丁?

答: git fetch origin refs/pull-requests/<pull request的id>/from:<获取到本地后的分支名称>

示例如下:
获取pull request id为1111的内容,并且将获取到的分支命名为hello
$ git fetch origin refs/pull-requests/1111/from:hello
原文地址:https://www.cnblogs.com/dakewei/p/13628220.html