Skip to main content
Collaborate at HartSign in

← Back to Help Center

Commenting, mentions, and closing issues from commits

Discuss issues with markdown comments, @mentions, and commit keywords.

  1. 1. Add a comment

    On /{owner}/{repo}/issues/{number}, scroll to Add a comment, write markdown in the textarea, preview if needed, and click Post comment.

  2. 2. Mention teammates

    Type @username in a comment to notify that user. They will see it under Notifications.

  3. 3. Link commits to issues

    Include #123 in a commit message to reference issue 123. Use fixes #123 or closes #123 (case-insensitive) to auto-close an open issue when the commit lands on the default branch only.

  4. 4. Commit comments

    On a commit detail page you can also start commit comment threads and discuss specific diffs.