25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
---
|
|
title: Moderating gist comments
|
|
intro: 'You can moderate comments on gists by turning them off or deleting unwanted entries.'
|
|
versions:
|
|
fpt: '*'
|
|
ghes: '>=3.17'
|
|
ghec: '*'
|
|
---
|
|
## Disabling comments
|
|
|
|
You can hide existing comments and prevent new comments from being added to a gist by disabling comments for the gist. You can re-enable comments at any time. This will make existing comments visible.
|
|
|
|
1. Navigate to {% data variables.gists.gist_user %} and select the gist you want to moderate.
|
|
1. In the top right corner, select **{% octicon "pencil" aria-hidden="true" aria-label="pencil" %} Edit**.
|
|
1. In the top right corner, select **{% octicon "comment" aria-hidden="true" aria-label="comment" %} Disable comments**.
|
|
|
|
## Deleting comments
|
|
|
|
You can delete a comment on a gist if you are the author of the gist or the author of the comment.
|
|
|
|
1. Navigate to {% data variables.gists.gist_user %} and select the gist you want to moderate.
|
|
1. On the upper-right corner of the comment box, select **{% octicon "kebab-horizontal" aria-label="Open dropdown menu" %}**.
|
|
1. From the dropdown menu select **Delete**.
|
|
1. Select **OK** to confirm.
|