比如同步bitcoin的第11000个PR https://github.com/bitcoin/bitcoin/pull/11000
在项目根目录下执行git fetch origin pull/11000/head:pr_11000
通用格式: git fetch <remote> pull/11000/head:<branch_name>
参考:
https://help.github.com/articles/checking-out-pull-requests-locally/
网友评论