Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.

Moderating gist comments

You can moderate comments on gists by turning them off or deleting unwanted entries.

In this article

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 http(s)://[hostname]/gist/YOUR_USERNAME or http(s)://gist.[hostname]/YOUR_USERNAME if subdomains are enabled and select the gist you want to moderate.
  2. In the top right corner, select Edit.
  3. In the top right corner, select 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 http(s)://[hostname]/gist/YOUR_USERNAME or http(s)://gist.[hostname]/YOUR_USERNAME if subdomains are enabled and select the gist you want to moderate.
  2. On the upper-right corner of the comment box, select .
  3. From the dropdown menu select Delete.
  4. Select OK to confirm.