Command Line Differences Viewer
To view differences using command line diff tool
- In the command line, type the following: where:
<PhpStorm> diff <path1> <path2>
- <PhpStorm> is the platform-specific product launcher
<path1>, <path2>are full paths to the files to be compared.
/Applications/PhpStorm.app/Contents/MacOS/PhpStorm diff ~/Documents/file1.txt ~/Documents/file2.txt
Last modified: 29 March 2018