How to view all differences between two git commits within Intellij?

Viewed 79

I looked at a few results for how to do the task in the title. One of the most popular is an SOF answer here:

https://stackoverflow.com/a/49642681/1056563

In particular there is this popup shown:

enter image description here

However when I do apparently the same process the popup does not include those compare options:

enter image description here

What do I need to do to get the compare commits option? I am on Intellij Ultimate 2020.2 on macOS.

Update The (now rather tentatively..) accepted answer refers to a link to Compare Versions. Here is my attempt to replicate those instructions. However there is no "compare versions" option afaict:

enter image description here

1 Answers

If you would like to compare two commits in IDE then please open Git toolwindow, find in a log desired commits, select them while holding Ctrl and then you can hit cmd/Ctrl+D or right-click and choose "Compare version". Please see more here about commit and history review enter image description here

Related