<分区>
我需要测试以下 pull 请求:https://github.com/grobian/carbon-c-relay/pull/274 .我已将主存储库克隆到我的本地驱动器:git clone https://github.com/grobian/carbon-c-relay.git carbon-c-relay
。我如何将 pull 请求中的更改 merge 到我的本地副本,以便我可以编译和测试?
<分区>
我需要测试以下 pull 请求:https://github.com/grobian/carbon-c-relay/pull/274 .我已将主存储库克隆到我的本地驱动器:git clone https://github.com/grobian/carbon-c-relay.git carbon-c-relay
。我如何将 pull 请求中的更改 merge 到我的本地副本,以便我可以编译和测试?
最佳答案
我发现你可以 pull 一个 pull 请求如下:git pull origin pull/274/head
关于GIT - 如何测试 fork 的更改/pull 请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44661842/