Repository admins can now disable comments on individual commits, a small but meaningful improvement for maintainers dealing with unwanted noise on old commits.

A new “Commits” section in repository settings includes the option Allow comments on individual commits, which is enabled by default to preserve existing behavior across all repositories.

The Commits section in repository settings, showing a checkbox labeled 'Allow comments on individual commits'

a

When this option is unchecked:

  • The comment form, inline diff comment affordance, and inline thread reply capability are hidden on commit pages.
  • Comment creation through both the REST API and GraphQL API is blocked.
  • Existing commit comments are not affected—they can be viewed, edited, and deleted.

To try it out, navigate to your repository’s Settings, scroll to the “Commits” section, and uncheck Allow comments on individual commits.

Drop a comment in our Community discussion to share your feedback.