Reviewing and Approving Pull Requests

If you are the reviewer of a pull request you can:

  1. Open a pull request.

  2. To view the code changes, click the Changes tab. The Contents section list all the files in the review. To review a specific file, select it from the list, or scroll down. The list of files is also displayed on the sidebar.

  3. To add comments to a file:

  4. a    Click and drag to select the lines where you want to add a comment.

    b    In the Comment box enter your comments. Optionally, format the comment using the toolbar or markdown syntax.

    c     Click Comment. Your comments are now visible to your team and their responses will be displayed in the same comment box. Each reviewer receives an email with a snippet of the code and the review comments.

  5. To vote to approve a pull request click Approve. Enter the reasons for your approval and click Approve.

  6. To ask for changes to be made, click Request Changes. Enter comments and click Request Changes. The pull request is sent back to its author for rework. The author can make additional changes and republish the pull request.