> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/devops/devops-es/codigo/acciones-de-rama/agregar-componentes-a-una-rama.md).

# Agregar componentes a una rama

## ![](https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) Resumen

Cuando una rama se crea por primera vez, su pestaña Componentes contiene metadatos heredados de la Rama principal o de la rama de origen utilizada durante la creación. Puedes agregar más metadatos en cualquier momento usando el botón Agregar componentes.

{% hint style="info" %}

#### Mejores prácticas

* Añade siempre componentes de la organización de Salesforce correcta para evitar discrepancias.
* Revisa Activities en busca de conflictos antes de continuar con las solicitudes de extracción o las fusiones.
* Mantén los mensajes de confirmación descriptivos para que puedas seguir por qué se añadieron componentes específicos.
  {% endhint %}

## Agregando componentes

{% stepper %}
{% step %}

### Selecciona una rama

1. Haz clic en **Ramas** en el menú lateral izquierdo.
2. Selecciona una rama de la lista.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FDQ0b2amkcDKa0OD8TunG%2FAddingComponentsToABranch-S01-01.png?alt=media&amp;token=d2739124-cf76-4a8f-b07e-4610ec5d2b7a" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Agregar componentes

1. Haz clic en **+ Agregar componentes**.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FNjXIUIxRYH3XPHmCtJTW%2FAddingComponentsToABranch-S02-01.png?alt=media&amp;token=a8ece3d2-8bc6-41d2-9129-2fe0c1908193" alt="" width="563"><figcaption></figcaption></figure></div>
2. Haz clic en **Selecciona** para la organización de Salesforce de la que deseas recuperar metadatos.
3. Haz clic en **Siguiente**.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FUlOkQ5KjsX7P2cCAzQjz%2FAddingComponentsToABranch-S02-02.png?alt=media&amp;token=aa1f76cd-5144-4393-a798-45d1224c84b2" alt="" width="563"><figcaption></figcaption></figure></div>
4. Usa las **Buscar**, **Filtrar**, y **Ordenar** opciones para encontrar los componentes que deseas agregar.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FWIGK0gCwLybSr2zQwtzf%2FAddingComponentsToABranch-S02-03.png?alt=media&amp;token=68e3bdbe-eeff-4927-beab-bfae04fd5c39" alt="" width="563"><figcaption></figcaption></figure></div>
5. Haz clic en el **+ Seleccionar** botón de cada componente que quieras agregar.
6. Haz clic en **Siguiente**.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F7vFkUEbdwM0iwnXtGGmn%2FAddingComponentsToABranch-S02-04.png?alt=media&amp;token=1099cc20-4abd-48ad-92c3-077e541d31cf" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Confirmar cambios

1. Introduce un mensaje de confirmación en el cuadro de texto.
2. Haz clic en **Confirmar**.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F5ss2qGZWHI5659eaf71Q%2FAddingComponentsToABranch-S03-01.png?alt=media&amp;token=d811a145-48ae-4ca6-a8fc-5501dbca92e9" alt="" width="563"><figcaption></figcaption></figure></div>
3. Después de confirmar, la **Actividades** pestaña mostrará el **Confirmar en la rama** trabajo que acabas de iniciar.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FQWkeAPN3H88I2FZavoJ2%2FAddingComponentsToABranch-S03-02.png?alt=media&amp;token=4239cd57-0c8c-4f05-876d-2f969f8403a8" alt="" width="563"><figcaption></figcaption></figure></div>
4. Una vez que el trabajo se complete, cambia a la **Componentes** pestaña para ver los componentes que agregaste.

   <div align="left"><figure><img src="https://2574462044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F6TwrOIINas1U2v0bnzvK%2FAddingComponentsToABranch-S03-03.png?alt=media&amp;token=61eeb1f3-7cdf-4e9e-86f4-a92a193bf240" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.flosum.com/devops/devops-es/codigo/acciones-de-rama/agregar-componentes-a-una-rama.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
