git diff commit_id1:file_name commit_id2:file_name
或者
git diff commit_id1 commit_id2 -- file_name
It can also be used instead of the HEAD commit_id
git diff commit_id1:file_name commit_id2:file_name
或者
git diff commit_id1 commit_id2 -- file_name
It can also be used instead of the HEAD commit_id