Work with TeamForCapella commits and commit messages
Info
Please request a persistent Capella session before you continue with the instructions here.
Enable commit message prompt
If you want to provide commit messages when saving your changes in TeamForCapella, you can enable a dialog that will prompt you to enter a message each time you save your changes:
- Navigate to
Window
>Preferences
:
- In the
Preferences
dialog, navigate toSirius
>Team Collaboration
and enable theRequire description for commit actions
option:
- Save the changes with "Apply and Close".
Provide a commit message
Warning
The commit description dialog will only appear if enabled as described in the previous section.
- Connect to a TeamForCapella repository.
- Make some changes to the model.
- Save your changes. A dialog will prompt you to enter a commit message:
- Confirm with "OK". If you don't want to provide a commit message, you can click on "Ignore".
View the commit history
- Open the Capella search via the search icon in the top right corner.
- Search for commit history and select
Commit History (Sirius Team collaboration)
:
- The commit history view opens. It will show the changes of the selected
element and children in the project explorer. Select the
.aird
file for the full project commit history. You can click on specific commits to see the modified elements: