0

Standard Window : allow to checkout a Pull Request directly

pgoiffon 1 year ago updated 1 year ago 1

In the standard Window, "history" perspective, the "My History" window displays all the Pull Request I'm involved in, this is pretty cool 8). But if I want to checkout this PR, I can't directly in this block, and it's complicated to do manually :( (open the PR in the browser, check the branch name, open the All branches window, checkout the branch)


Can this be added ?

If it could be possible to also checkout PR based on a branch in a fork it would be even cooler 8)

What PHPStorm does for example is perfect (adds a remote to the fork and have the tracked branch in that remote, so that when you checkout the PR branch by default you push to the fork)

I've just saw there is a "copy name" on the Pull Request contextual menu. Maybe you can add a new option like "Reveal branch" when the Pull Request is based on a branch in the same repo (not a fork). This would focus in the corresponding branch in the "all branches" window ?