Configuring an SCM Branch

You can configure the SCM branch that is, the branch to which you are going to commit the code.

It is required to associate a repository before attaching a branch from the configuration dialog.

This task shows you how to:

Configure Using Software Logical Items of Connected Software

Before you begin:
  1. Open the Specifications Properties dialog box. See Defining Specification Properties.
  2. To edit the branch, click Edit in the branch value field:

  3. Associate with the branch of a repository.

  4. Click OK.
    The branch information is associated with the configuration through the «SoftwareLogicalItem» stereotype from Embedded Software Profile:
    Branch Information Description Example
    branchName The branch name to target “main”
    SoftwareLogicalItemId ID of the logical Item linked to the branch (from Connected Software) -
    Note: If you remove the repository association, the branches will also be detached from elements if there were any. See Associating an SCM Repository to the Model Element.
  5. Commit.

Local Configuration

Create an SCM configuration, then edit the SCM configuration in the branch:

Branch Information Description Example
branchName The branch name to target “main”