Adding Components to a Branch

Use the Add Components option to bring metadata components from a Salesforce connection into your branch for development and commits.

Overview

When a branch is first created, its Components tab contains metadata inherited from the Main Branch or from the source branch used during creation. You can add more metadata at any time using the Add Components button.

Best Practices

  • Always add components from the correct Salesforce org to avoid mismatches.

  • Review Activities for conflicts before proceeding with pull requests or merges.

  • Keep commit messages meaningful so you can track why specific components were added.

Adding Components

1

Select a Branch

  1. Click Code from the left sidebar menu.

  2. Select a branch from the list.

2

Add Components

  1. Click Add Components.

  2. Click Select for the Salesforce org connection you want to retrieve metadata from.

  3. Click Next.

  4. Use the Search, Filter, and Sort options to find the components to add.

  5. Click the Add button for each component to add.

3

Commit Changes

  1. Enter a commit message.

  2. Click Commit.

  3. After committing, the Activities tab will show the Commit To Branch job you just started.

  4. Once the job is complete, you will see the components you added on the Components tab.

Last updated

Was this helpful?