Disable comments on individual commits

Published: (March 25, 2026 at 01:07 PM EDT)
1 min read

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.

Commits settings screenshot

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.

0 views
Back to Blog

Related posts

Read more »

MT5 CRM: How Real-Time Sync Works

Overview MetaTrader 5 MT5 introduced a cleaner API than MT4, but the integration architecture for CRM sync has its own considerations. Below is a practical gui...

clean code

The Power of Clean Code: Unlocking the Secrets to Better Software Development As a developer, you've probably heard the phrase clean code thrown around, but wha...