Diff between commits with PHP Storm?

5

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?

Evanss

Posted 2015-08-18T16:23:11.240

Reputation: 1 008

Man can you provide response on my answer ? – Anton Dozortsev – 2015-08-23T07:42:55.787

I dont have the Version Control panel. Im trying to get this set up so that I can check your answer. – Evanss – 2015-08-24T12:45:37.120

Version Control panel is that the same panel as in previous discussion.

– Anton Dozortsev – 2015-08-24T13:43:19.397

With the local changes panel I can see changes that havn't been committed yet, but I cant see changes between commits. – Evanss – 2015-08-24T13:46:55.923

Log tab provide information with commits(changes) that already been committed. Please read my answer again I was provide updates – Anton Dozortsev – 2015-08-24T14:39:26.480

Answers

11

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

Anton Dozortsev

Posted 2015-08-18T16:23:11.240

Reputation: 2 744