The Commits Window
You use the Commits window to view the history of all Commits saved in a branch. Click the link button to select another branch in The Select Location Dialog.
The commits are shown in a table with a maximum of 100 most recent commits initially retrieved from the database. Click Show More () to append the next 100 commits to the table. You can set another value for this default page size in the Result Page Size field on the Model Manager page in the Preferences window.
If the branch was created from another branch, older commits on the parent branch are also appended in the table. The table columns are:
The Date column — the time when the commit was saved.
The User column — the name of the user that saved the commit.
The Branch column — the name of the branch that the commit belongs to.
The Comments column — the optionally provided comments when the commit was saved.
Select a row in the table to see the corresponding Commit Settings in The Settings Window. This enables you to, for example, update the comments of the commit or see the set of related item changes saved in the commit.
The commit history shown in the table follows the current selection in The Model Manager Window or The Databases Window (depending on which window has focus). If you select a particular item in one of these windows, only commits involving that item are shown in the table. To see all commits in the corresponding branch, press Ctrl and click the selected item to deselect it or simply select a branch tree node in the The Databases Window.
Click Link with Selection () to disable the automatic linking. You can still update the Commits window with a new database object by right-clicking the object and selecting Commits (), when available.
The Commits Window Toolbar
The toolbar in the Commits window contains the following toolbar buttons:
Click the Refresh button () to refresh the table to see any new commits that have been saved on the branch. The table will automatically refresh if you save a new commit to the branch from the COMSOL Desktop.
Click the Show More button () to append older commits to the table.
Click the Link with Selection button () to enable or disable whether to automatically update the Commits window based on the current selection in the Model Manager window or the Databases window (which ever has focus).
Click the Branch button () to open The Create Branch Dialog to branch off from the selected commit.
Click the Snapshot button () to record a snapshot for the selected commit.
Click the Merge button () to open The Merge Window to merge all changes made up to the selected commit to a target branch.
Click the Revert button () to open The Revert Window for the selected commit.
If you right-click a commit in the table, you can also
Select Export () to export all versions of items that were the latest versions at the time of the commit to the file system — see Exporting Items.
Select Search in Commit () to set the selected commit as the location in The Model Manager Window. You can then search for all versions of items that were the latest versions at the time of the commit. See also Searching in Snapshots and Commits.
When you click Revert () for a commit, the inverse of the set of changes shown in The Changes Section of the Settings window can be applied from The Revert Window.