Command Line Differences Viewer
Viewing differences
To view differences using command line diff tool
- In the command line, type the following: where:
<PyCharm> diff <path1> <path2>
- <PyCharm> is the platform-specific product launcher
-
<path1>, <path2>
are full paths to the files to be compared.
Examples
Windows
PyCharm.exe diff C:\SamplesProjects\MetersToInchesConverter\src\javascript\numbers.js
C:\SamplesProjects\MetersToInchesConverter\src\coffeescript\numbers.coffee
macOS
/Applications/PyCharm.app/Contents/MacOS/pycharm diff ~/Documents/file1.txt ~/Documents/file2.txt
Last modified: 28 March 2018