Skip to main content

This version of GitHub Enterprise was discontinued on 2023-07-06. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Commenting on a pull request

After you open a pull request in a repository, collaborators or team members can comment on the comparison of files between the two specified branches, or leave general comments on the project as a whole.

About pull request comments

You can comment on a pull request's Conversation tab to leave general comments, questions, or props. You can also suggest changes that the author of the pull request can apply directly from your comment.

You can also comment on specific sections of a file in a pull request's Files changed tab in the form of individual line comments, or as part of a pull request review. Adding line comments is a great way to discuss questions about implementation or provide feedback to the author. For more information about pull request reviews, see "About pull request reviews."

For more information on adding line comments to a pull request review, see "Reviewing proposed changes in a pull request."

Note: If you reply to a pull request via email, your comment will be added on the Conversation tab and will not be part of a pull request review.

To reply to an existing line comment, you'll need to navigate to the comment on either the Conversation tab or Files changed tab and add an additional comment below it.

Tips:

  • Pull request comments support the same formatting as regular comments on GitHub Enterprise Server, such as @mentions, emoji, and references.
  • You can add reactions to comments in pull requests in the Files changed tab.

Adding comments to a pull request

  1. Under your repository name, click Pull requests.