> For the complete documentation index, see [llms.txt](https://releaseowl.gitbook.io/releaseowl-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://releaseowl.gitbook.io/releaseowl-docs/releaseowl-user-guide/utilities/gcts-merge.md).

# gCTS Merge

**gCTS Merge Configurations**

This feature allows you to define merge configurations between two Git-enabled SAP systems using gCTS (Git-enabled Change and Transport System). It helps in synchronizing and merging branches across different systems within your transport landscape.

To create a merge configuration, the following fields are used:

* **Name**: A unique name for the merge configuration.

**Source Configuration**:

* **GCTS Environment**: Select the source environment from the dropdown.
* **Domain Controller**: Automatically populated based on the selected environment.
* **System ID**: Automatically populated based on the environment.
* **GCTS Repo**: Select the source repository.
* **Branch**: Choose the source branch to be compared or merged.

**Target Configuration**:

* **GCTS Environment**: Select the target environment from the dropdown.
* **Domain Controller**: Automatically populated based on the selected environment.
* **System ID**: Automatically populated based on the environment.
* **GCTS Repo**: Automatically populated based on the source repository selection.
* **Branch**: Choose the target branch into which changes will be merged.

<figure><img src="/files/S3ZvlsBVVnIkPNCXEeyr" alt=""><figcaption></figcaption></figure>

* Once all required fields are filled, click **Save**. A success message will be displayed confirming that the configuration has been created successfully..

<figure><img src="/files/6akNLSQyoOxL0PQVw9QM" alt=""><figcaption></figcaption></figure>

**Executing the Merge**

To initiate the merge process:

1. Click on the **Actions** button (`...`) next to the desired merge configuration.
2. Select **Start Merge** to begin the merge process based on the defined configuration.

<figure><img src="/files/Ue4vrealHwcLeAwOoOUz" alt=""><figcaption></figcaption></figure>

**Viewing Merge Configuration Details**

By clicking into an existing merge configuration, you can view the following details:

* **Source System ID**
* **Target System ID**
* **Source Branch**
* **Target Branch**
* **Created By**
* **Created On**
* **Merge Status**

<figure><img src="/files/icKmFMoI3zbhyvPoEt9v" alt=""><figcaption></figcaption></figure>

**Viewing Merged Files**

To inspect the files involved in the merge:

1. Click on the **Actions** button (`...`) for the configuration.
2. Select **View Files**.

<figure><img src="/files/d8hnIJFqu2Dtbxy1cJSS" alt=""><figcaption></figcaption></figure>

3. This will redirect you to the corresponding **GitHub** repository, where you can review the status of the merged files.

<figure><img src="/files/CaNBr0SruSZkSrT1KhWf" alt=""><figcaption></figcaption></figure>
