如何显示 gitlab 片段的差异视图?

How to show the diff view of gitlab snippets?

我在 Gitlab 13.5.3 中创建了一个片段。 根据 Gitlab's Documentation about snippets,这些自 13.0 起受版本控制。

有没有什么方法可以像 Github 那样显示代码片段版本之间的差异视图?

显示版本之间差异的唯一方法是克隆然后使用 git 差异。

到目前为止,GitLab 没有在片段中显示差异的功能。

Revisions are not yet visible to the user on the GitLab UI, but it's planned to be added in future iterations. See the revisions tab issue for updates.

https://gitlab.com/gitlab-org/gitlab/-/issues/39271