title | intro | redirect_from | versions | topics | shortTitle | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tracking changes in a comment |
You can view the edit history of a comment or delete sensitive information from the edit history of a comment. |
|
|
|
Track comment changes |
Anyone with read access to a repository can view a comment's edit history.
- Navigate to the comment you'd like to view the edit history for. {% data reusables.repositories.edited-comment-list %}
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.
-
Navigate to the comment where you would like to delete sensitive information from the edit history. {% data reusables.repositories.edited-comment-list %}
-
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.
-
To confirm deletion, click OK.
{% ifversion fpt or ghec %}- "AUTOTITLE"{% endif %}