RubyMine 2016.3 Help

Comparing File Versions

RubyMine allows you to compare the local copy of a file with its repository versions. The following options are possible:

For some version control systems, it is possible to compare a file with a branch version. The differences are displayed in the Differences viewer.

To compare with a repository version to which you last synchronized

  1. Select a file in the Project tool window, or open it in the editor.
  2. Do one of the following:
    • From the main VCS menu, or on the context menu of a file, choose <VCS> | Compare with the same repository version.
    • Select a file in the Local CHanges tab of the Version Control tool window, and choose Show Diff from the context menu.

To compare with the latest repository version

  1. Select a file in the Project tool window, or open it in the editor.
  2. On the main VCS menu, or on the context menu of a file, choose <VCS> | Compare with the latest repository version.

To compare with the specified version of a file

  1. Select a file in the Project tool window, or open it in the editor.
  2. On the main VCS menu, or on the context menu of a file, choose <VCS> | Compare with.
  3. In the File Revision pop-up window, click the version to compare with.

See Also

Last modified: 7 December 2016