gba gba - 1 year ago 459
Git Question

How to review a pull request in intelliJ IDEA? bitbucket git

We are using git, bitbucket, and InteliJ IDEA. The project is mainly written in Java and Groovy.

Is there a good way to review pull requests right from inteliJ?

Answer Source

The formal support for GitHub (or BitBucket for that matter) pull request review is still pending (issue IDEA-85079, opened in 2012)

That leaves you with a manual process, fetching a PR, and comparing the branches:

git fetch origin pull/1234/head:pr-1234

For BitBucket:

git fetch origin refs/pull-requests/1234/from:pr-1234

(See also "How to fetch Pull Requests in BitBucket")

Then you can compare branches in IntelliJ.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download