On Gitlab, how to compare a file of two different commits? I know that that on command line git, the command is:
git diff commit1 commit12 -- file_name >
git diff commit1 commit12 -- file_name
if you want to compare one file different version
1.Repositoy->Commits->select file->click Side-by-side
2.you will see two windows,left is old version and right is new version.