1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/content/github/building-a-strong-community/tracking-changes-in-a-comment.md
2020-11-02 15:12:44 -06:00

35 lines
1.6 KiB
Markdown

---
title: Tracking changes in a comment
intro: You can view the edit history of a comment or delete sensitive information from the edit history of a comment.
redirect_from:
- /articles/tracking-changes-in-a-comment
versions:
free-pro-team: '*'
enterprise-server: '*'
github-ae: '*'
---
### Viewing a comment's edit history details
Anyone with read access to a repository can view a comment's edit history.
1. Navigate to the comment you'd like to view the edit history for.
{% data reusables.repositories.edited-comment-list %}
### Deleting sensitive information from a comment's history
Comment authors and anyone with write access to a repository can delete sensitive information from a comment's edit history.
When you delete sensitive information from the comment's edit history, the person who made the edit and when they made the edit is still visible in the comment history but the content of the edit is no longer available.
1. Navigate to the comment where you would like to delete sensitive information from the edit history.
{% data reusables.repositories.edited-comment-list %}
3. In the top right of the edit history window, click **Options**. Then click **Delete revision from history** to delete the diff that shows the content being added.
![Delete comment edit details](/assets/images/help/repository/delete-comment-edit-details.png)
4. To confirm deletion, click **OK**.
### Further reading
{% if currentVersion == "free-pro-team@latest" %}- "[Reporting abuse or spam](/articles/reporting-abuse-or-spam)"{% endif %}
- "[Editing a comment](/articles/editing-a-comment)"