Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Diff GitLab Wiki

In the GitLab Wiki section, it is possible to see the history of when changes were saved. However when you click on the commit link, it will show the entire file as it existed on that save. Does anyone know of a way to diff the commits to only get the differences between the two commits?

This would be similar to how it occurs in the Merge Request section where it diff's the Source and Target branches and shows the differences between them.

like image 638
elyod72 Avatar asked Sep 03 '26 23:09

elyod72


1 Answers

This feature is now available since Gitlab 13.2.

Similar to versioned diff file views, you can see the changes made in a given Wiki page version:

  1. Navigate to the Wiki page you’re interested in.
  2. Click on Page history to see all page versions.
  3. Click on the commit message in the Changes column for the version you’re interested in:

Source: https://docs.gitlab.com/ee/user/project/wiki/#viewing-the-changes-between-page-versions

like image 141
mrek Avatar answered Sep 06 '26 16:09

mrek