Skip to content

Commit c8f647f

Browse files
guntripCopilotisaacmbrownSiaraMist
authored
Managing commit comments for your organization (#60869)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
1 parent 3e7543a commit c8f647f

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

content/organizations/managing-organization-settings/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ children:
4040
- /managing-the-display-of-member-names-in-your-organization
4141
- /managing-updates-from-accounts-your-organization-sponsors
4242
- /managing-the-publication-of-github-pages-sites-for-your-organization
43+
- /managing-commit-comments-for-your-organization
4344
- /archiving-an-organization
4445
- /deleting-an-organization-account
4546
- /converting-an-organization-into-a-user
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Managing commit comments for your organization
3+
intro: 'Organization owners can allow or disallow commit comments by default for repositories in their organization.'
4+
permissions: Organization owners
5+
versions:
6+
fpt: '*'
7+
ghes: '>= 3.22'
8+
ghec: '*'
9+
shortTitle: Manage commit comments
10+
category:
11+
- Set repository policies
12+
---
13+
14+
## About commit comments
15+
16+
Commit comments are comments people add directly to a commit outside of a pull request. Disallowing commit comments can help organizations reduce noise and maintain cleaner commit histories, especially if commit comments are not part of your development workflow.
17+
18+
It is possible to allow or disallow commit comments at a repository level. Organization owners can configure the default setting for commit comments for all repositories in an organization.
19+
20+
## What happens when commit comments are disabled?
21+
22+
When you disable commit comments for your organization:
23+
24+
* People cannot create new commit comments.
25+
* Existing commit comments remain visible.
26+
* Repository administrators can override the setting in their repository's settings.
27+
28+
## Managing the default setting for commit comments in your organization's repositories
29+
30+
{% data reusables.profile.access_org %}
31+
{% data reusables.profile.org_settings %}
32+
1. In the "Code, planning, and automation" section of the sidebar, select **{% octicon "repo" aria-hidden="true" aria-label="repo" %} Repository**, then click **General**.
33+
1. Under "Commits", select or deselect **Allow comments on individual commits**.
34+
35+
36+
## Further reading
37+
38+
* [AUTOTITLE](/communities/moderating-comments-and-conversations/managing-disruptive-comments)

0 commit comments

Comments
 (0)