Disable comments on individual commits
Source: GitHub Changelog
Overview
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.
What Happens When the 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.
How to Enable or Disable
To try it out, navigate to your repository’s Settings, scroll to the Commits section, and uncheck Allow comments on individual commits.
Feedback
Drop a comment in our Community discussion to share your feedback.