Eclipse: any way to checkout a PR for review?

Kevin Rushforth kevin.rushforth at oracle.com
Tue Jul 27 11:23:34 UTC 2021


I do something like this:

git fetch upstream pull/569/head:pr_569

Then you can checkout the "pr_569" branch. I typically will then merge 
in the current upstream/master to test. If you don't have an "upstream" 
remote you can instead:

git fetch https://github.com/openjdk/jfx pull/569/head:pr_569

-- Kevin

On 7/27/2021 4:15 AM, Jeanette Winzenburg wrote:
>
> when reviewing a PR with only a few files changed, I simply create a 
> local branch and c&p the changes (*cough, pretty sure there's a better 
> way, but then that's the most simple ;).
>
> With changes to many files (like f.i. 
> https://github.com/openjdk/jfx/pull/569) that still would be doable, 
> but rather cumbersome - so looking for something like "gh pr checkout 
> 569" (not that I ever tried that, just copied from the doc :) inside 
> Eclipse.
>
> An alternative might be to fork-the-fork .. ?
>
> -- Jeanette
>



More information about the openjfx-dev mailing list