Skip to main content

Check model change differences

Overview

It helps you see the difference in changes in your model by comparing it to previous commits that are configured in Git.

The steps for checking model change differences are explained in the following order.

  • Show commit log
  • Compare projects

Display commit log

To view the commit log, follow these steps:

View commit log

If you want to view the repository's commit log

Operating instructions
  1. Click Git > Commit History > Repository Commit History on the ribbon.
  2. The Repository Commit History dialog appears, listing the commit logs.
  3. You can narrow down the list of commit logs by specifying the start date and end date.

If you want to view the commit log of a file

Operating instructions
  1. Select the model file in the Model Navigator or Project Navigator.
  2. Click Git > Commit History > File Commit History on the ribbon.
  3. The [Commit history of the model file being displayed in the editor] dialog is displayed, and the commit logs are listed.
  4. If you want to display the commit history for a period that is not displayed, specify the start date and end date and press the reload button.

Compare projects

There are multiple ways to compare projects:

  • Compare with previous commit
  • Compare with previous commits

For each of the above, we explain below how to choose what to compare.

Compare with previous commit

To compare with the previous commit while editing a project registered in the configuration management repository, follow these steps:

Compare with previous commit

Operating instructions
  1. Click Git > Difference > Compare with Last Commit on the ribbon.
  2. A comparison with the most recently committed project is started, and the differences are displayed in the model navigator and model editor.

Compare with previous commits

To compare with previous commits while editing a project registered in the configuration management repository, follow these steps:

Compare with previous commit

Operating instructions
  1. View the commit log. (Click here for details)
  2. Select the commits you want to compare and click the buttons below for each type of commit log.
    • Repository commit log: Show diffs in editor button
    • File commit log: Show changes button
  3. Comparison will start with the project of the selected commit and the differences will be displayed.
info