Capella + GIT [TIP 1 - Git Global Settings]

Hello to everybody:

Who does not feel uncomfortable when modifying a model and behind the curtain, there are files that are changing and in XML format (not friendly for reading). Fortunately, using GIT resolves to have good version management of your model as you progress through the modeling.

Although Capella allows you to work with GIT in an embedded way from its own interface, I found some things that I did not like until I found a solution properly in GIT, so I want to share it so that you can see this advice later.

Every time I do a “Commit”, I have to modify the spaces that are marked with the red marker. I did a search to see in which part of CAPELLA there is a setting to it. So I remembered the GIT command line. In the same Capella Project Directory, run the followings commands:

git config --global "<your_email>"
git config --global "<your_username>"

I remember that before you need to create a GIT repository.
Then, restart Capella and that’s it.

If you know how to do it directly in Capella, I really apreciate you Tip.



In this pict, the GIT Global Settings were applyed.



Picture of my terminal…

Captura de pantalla 2021-09-27 151807

Hello Luis,

To make the setting permanent using the Capella interface:

  1. open the Window/Preferences menu
  2. Go to team/Git/Configuration
  3. Add the git parameters ( , user.mail)

These settings are stored in the git repository file “config”. you can also use this interface to modify the other git settings if needed.

hope that it answer your question :slight_smile:


1 Like

Thanks Simone, I passed a couple of hours trying to find it.



Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.