You can now choose whether commit comments are enabled or disabled by default for repositories owned by your personal account. This makes it easier to manage commit comment behavior across multiple personal repositories without updating them one by one.

In user-level repository settings, you’ll find a new “Commit comments” section with two options:

  1. Enabled by default
  2. Disabled by default

When you choose a default, it applies to repositories owned by your personal account that don’t already have an explicit repository-level setting. You can still override the default in an individual repository with Allow comments on individual commits.

Repositories that already have an explicit repository-level choice keep that setting, even if you change your user-level default later.

If a repository inherits Disabled by default:

  • The comment form is hidden on commit pages.
  • Inline diff comment entry points and inline thread replies are hidden.
  • Creating commit comments through the REST API and GraphQL API is blocked.
  • Existing commit comments remain viewable, editable, and deletable.

To leave feedback, join the discussion within GitHub Community.