# Accessing a build's configuration YAML

Once you ran a build on Bitrise, you can always check the `bitrise.yml` configuration the build used. You can download it, compare it to the current `bitrise.yml` file, and you can even replace the current configuration file with the build's configuration file.

To download it from the command line, use [`bitrise build yml`](/bitrise-ci/bitrise-cli/managing-builds-with-the-bitrise-cli#viewing-a-build) or [`bitrise yml get --build`](/bitrise-ci/bitrise-cli/working-with-bitrise-yml-via-the-bitrise-cli#downloading-the-bitriseyml-file). Both commands need Bitrise CLI 3.0.0 or newer.

To access a build's configuration file:

1. Open Bitrise CI, select a project and then select one of the builds of the project.
1. Select **Configuration YAML** on the top right.

   ![show-config-yaml.png](/img/_paligo/uuid-b4d1eb0b-3222-87c7-f672-82695ed71e87.png)
1. In the dropdown menu, select **View configuration YAML**.

## Checking changes in the configuration YAML

On the **Configuration YAML** page of a build, you can see:

- The YAML configuration used by the build.
- If the build used a different configuration, you can also see the current configuration YAML.

The page also shows the differences between the current configuration and the configuration used by the build:

- Green means added content.
- Blue means modified content.
- Red means deleted content.

![compare-config-yaml.png](/img/_paligo/uuid-e0c8a32c-f635-adb8-8380-03c13b38026d.png)

## Restoring the configuration YAML

You can always change the current configuration YAML to the configuration of one of your app's previous builds. This overrides the current configuration. To do so:

1. Open Bitrise CI, select a project and then select one of the builds of the project.
1. Select **Configuration YAML** on the top right.
1. In the dropdown menu, select **View configuration YAML**.
1. In the dialog, click **Restore configuration YAML**.
1. Click **Overwrite** in the confirmation dialog.

## Deleting a build's configuration YAML

If you wish, you can simply delete a build’s `bitrise.yml` file. But please note that this action cannot be undone: nobody will be able to view that particular build’s `bitrise.yml` file once you delete it.

1. Open Bitrise CI, select a project and then select one of the builds of the project.
1. Select **Configuration YAML** on the top right.

   ![show-config-yaml.png](/img/_paligo/uuid-b4d1eb0b-3222-87c7-f672-82695ed71e87.png)
1. In the dropdown menu, select **Delete configuration YAML**.
1. In the confirmation dialog, click **Delete configuration YAML**.
