Skip to main content

Эта версия GitHub Enterprise Server будет прекращена 2023-12-20. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Просмотр истории изменений вики-сайта

Так как вики-сайты являются репозиториями Git, каждое изменение, которое вы вносите, будет фиксацией, которую можно просмотреть.

Вики-сайты доступны в общедоступных репозиториях при использовании GitHub Free и GitHub Free для организаций, а также в общедоступных и частных репозиториях при использовании GitHub Pro, GitHub Team, GitHub Enterprise Cloud и GitHub Enterprise Server.

Viewing wiki history

Wiki history includes:

  • The user who made the change
  • The commit message they provided
  • When the change was made
  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. Under your repository name, click Wiki.

    Screenshot of the menu in a repository. The "Wiki" option is outlined in dark orange.

  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.

    Screenshot of the title of a wiki page. The revision link is outlined in dark orange.

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.

Screenshot of the revisions page. The wiki's SHA number is outlined in dark orange.

Comparing two revisions

  1. Select two rows that you want to compare.
  2. At the top of the history table, on the right side, click Compare Revisions.
  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, on the right side, click Compare Revisions.
  3. You'll see a diff of the changes showing which lines were added, removed, and modified.
  4. To revert the newer changes, click Revert Changes.