Tuesday 13 February 2018

git - Diff to HEAD with PHP Storm?


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.



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


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...