如何为不属于我的分支获取未合并的拉取请求? [英] How can I fetch an unmerged pull request for a branch I don't own?
问题描述
我需要在 NServiceBus 存储库中拉入特定的拉取请求(尚未处理到主流中):
https://github.com/johnsimons/NServiceBus/commit50e37e35c15c16e771c1023e968132a8c18c18c15c15c15c18c1023/p> 这显然不是我的存储库,但我需要该拉取请求中存在的更改. 最好的方法是什么? 或 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/commit/d8524d53094e8181716e771c1023e968132abc15 It's obviously not my repo, but I need the changes that exist in that pull request. What is the best way to do this? Or Can I pull a not-yet-merged pull request? 这篇关于如何为不属于我的分支获取未合并的拉取请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!git pull origin pull/28/head
git fetch origin pull/28/head:28git 结帐 28
git pull origin pull/28/head
git fetch origin pull/28/head:28
git checkout 28