AppCode 2018.2 Help

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.

path1 The full path to the local copy of the file.
path2 The full path to the repository version copy of the file.



diff ~/Documents/file1.txt ~/Documents/file2.txt
Last modified: 8 May 2018

See Also