Viewing Difference Between Files from Command Line
You can use AppCode as a command line tool for viewing differences between files.
In the command line, run the
diff
command using the following syntax:<AppCode> diff path1 path2
The selected files will be opened in the Differences Viewer for Files.
The command options are as follows:
Option | Description |
---|---|
| The platform-specific AppCode launcher. |
| The full path to the local copy of the file. |
| The full path to the repository version copy of the file. |
Examples
macOS
diff ~/Documents/file1.txt ~/Documents/file2.txt