Viewing a wiki's history of changes

Because wikis are Git repositories, every change you make is a commit that you can view.

Los Wikis se encuentran disponibles en repositorios públicos y privados con GitHub Free y GitHub Free para organizaciones, y en repositorios privados y públicos con GitHub Pro, GitHub Team, GitHub Enterprise Cloud, y Servidor de GitHub Enterprise.

Viewing wiki history

Wiki history includes:

  • The user who made the change
  • The commit message they provided
  • When the change was made
  1. En GitHub Enterprise, visita la página principal del repositorio.
  2. Debajo de tu nombre de repositorio, da clic en Wiki. Enlace de menú del Wiki
  3. Using the wiki sidebar, navigate to the page whose history you want to view.
  4. At the top of the wiki, click the revision link. Wiki revision link

Viewing previous content

On the wiki history table, you can click a SHA-1 hash (the sequence of letters and numbers to the far right) to see a wiki page as it existed at a particular point in time.

Wiki SHA number

Comparing two revisions

  1. Select two rows that you want to compare.
  2. At the top of the history table, click Compare Revisions. Wiki compare revisions button
  3. You'll see a diff of the changes showing which lines were added, removed, and modified.

Reverting previous changes

You can only revert changes if you have permission to edit the wiki.

  1. Select a row that you want to revert.
  2. At the top of the history table, click Compare Revisions. Wiki compare revisions button
  3. You'll see a diff of the changes showing which lines were added, removed, and modified. Wiki revision diff
  4. To revert the newer changes, click Revert Changes. Wiki revert changes button

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.