Skip to content

Your first review

This tutorial takes you from the end of Setup to a review on GitHub: open a pull request that’s waiting for you, read it, leave one comment and submit. It takes about ten minutes. You need Revue installed and signed in to GitHub (see Install Revue).

Setup’s last screen, Open, lists the pull requests Waiting for your review, then Yours.

Setup’s Open screen, with pull requests waiting for your review, your own pull requests, and the folders on this MacSetup’s Open screen, with pull requests waiting for your review, your own pull requests, and the folders on this Mac

Choose a pull request under Waiting for your review. It opens in a tab of its own, on its Overview.

If the list says “No open pull requests are waiting for you”, choose Go to the Inbox and open any pull request from there. Setup is already behind you, so later you’ll start from the Inbox.

The Overview shows the description, the timeline of pushes and reviews, and the threads people have started. A column at its right says what stands before merge, how the checks are doing and who reviews. Read the description first.

Then choose Changes in the bar at the top, or press ⌥⌘O. The same key takes you back to the Overview.

  1. The sidebar lists the files that changed. Choose one, or press J and K to move to the next and previous file.
  2. When you’ve read a file, press V to mark it viewed. The count in the sidebar goes up.

Single keys like these act only when no text field has focus.

  1. Select a line, or drag across several.
  2. Press C, or choose Comment in the bar that appears over your selection.
  3. Write your comment. The line under it says “Goes to your pending review. Only you can see it until you submit.”
  4. Choose Add comment, or press ⌘↩.
A new comment on two selected lines, with the Suggest change, Attach image, Cancel and Add comment buttonsA new comment on two selected lines, with the Suggest change, Attach image, Cancel and Add comment buttons

The comment now shows under the line, marked Pending. Nobody else can see it yet. You can edit or delete it until you submit.

  1. Choose Review at the right of the bar, or press ⌥⌘R. The review panel opens. It lists the other reviews, the checks and Your pending comments.
  2. Choose a verdict: Comment, Approve or Request changes.
  3. Add a summary in the box above the verdicts if you want one. Request changes asks you to say what needs to change.
  4. Choose the button at the bottom of the panel. It’s named for your verdict. Or press ⌘↩.
The review panel with two pending comments, a summary, Request changes chosen, and the Discard and Request changes buttonsThe review panel with two pending comments, a summary, Request changes chosen, and the Discard and Request changes buttons

Revue sends your verdict, your summary and every pending comment to GitHub together, as one review. Until you submit, your comments stay in your pending review, where only you can see them.

  • Take the tour. Help › Take the Tour walks through Revue on a sample repository, in six parts. Each part can be started on its own from that menu.
  • Come back after a push. When the author pushes again, press R to see only what changed since you last looked. See Re-review with snapshots.
  • Learn the keys. Help › Keyboard Shortcuts (⌘/) lists the keys. Keyboard shortcuts has the same list.
  • Go further. Review a pull request covers suggestions, threads, checks and more.