如何在我的机器上获得特定的拉取请求?

Jay*_*uzi 10 git github

有人给我发了拉请求.在合并之前,我想查看机器上的更改.我怎么做?

Jay*_*uzi 17

来自http://community.elgg.org/pages/view/1123557/how-to-check-out-a-pull-request-for-testing

对于拉取请求#123:

git fetch origin pull/123/head:pr-123
git checkout pr-123 
Run Code Online (Sandbox Code Playgroud)