PHP Storm – How to Diff Between Commits

phpstorm

Can you see a diff between 2 commits in the same branch with PHP Storm?

With Netbeans you can go Git / Diff / Diff to… and then select the commits. Does PHP Storm have the same functionality?

Best Answer

Yes PhpStorm provide this opportunity.

In Version Control panel on Log tab select any number of commits, holding and choose commit using mouse cursor:

enter image description here

Then hit +D and you'll have follow window:

enter image description here

Tips:

  • Go To Changed File - +O
  • / Compare Previous/Next File

YouTube playlist of IntelliJ IDEA advanced tips & tricks

Related Question