Diff to HEAD with PHP Storm

gitnetbeansphpstorm

How can you see a Git diff to HEAD with PHP Storm?

I'm trying to switch over to PHP Storm from NetBeans as I've heard that it's more powerful. But I can't see how to use the Git diff tool, which was really easy to use in NetBeans IDE.

UPDATE – If I right click on an individual file I can go Git / Compare with latest repository version. This will do a diff to head. However if I try and so the same with a parent folder with multiple changed files the option is greyed out.

Best Answer

Select file on Version Control panel and hit +D to see changes in Difference Viewer.

Also this nice screencasts: 1 and 2 will be so useful for you. First video about IntelliJ but in PhpStorm this features work with the same way

Update:

enter image description here

Related Question