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
>
You can open two tabs:
Repository -> Commits), from where you have the SHA of any given commit (there's the copy button on right) handy;Repository -> Compare), and at the top, in source and target, past the SHA strings of the two commits you want to compare.