# Version history

Version history provides a systematic approach to keeping track of changes made to an asset in ReOrc. You can create and publish an asset under a specific version, allowing your team to review the progression of changes and roll back to previous versions if necessary.

## Publish a version

By default, when you first create an asset, such as a model or a pipeline, that asset is in the `draft` state. After you've made some changes to the asset, you can publish it to indicate that the asset is ready for use in your data workflow. This means creating a version of the asset and recording it in version history.

To publish an asset, follow these steps:

1. In the editor, click on the **Publish** button.&#x20;

   <figure><img src="/files/FHyInBaaessi1tf84vXy" alt="" width="563"><figcaption></figcaption></figure>

   This opens the asset publishing modal.
2. In **Version Information**, provide the version number and the update message to describe the changes you made.

   <figure><img src="/files/Gig9s6r4cM2n4yq2VNBh" alt="" width="563"><figcaption></figcaption></figure>
3. If you're making changes to an already published asset, you can switch to the **Compare changes** tab to see the diff view.&#x20;

   Diff view compares the current modifications to the latest version of the asset.
4. Click **Publish**.

## View version history

You can view all the versions of an asset in version history.

Follow these steps:

1. Open the asset in the editor.
2. Click on the **Version history** button.

   <figure><img src="/files/hnl92BQlHucZ1QaEqicM" alt="" width="563"><figcaption></figcaption></figure>
3. In the opened **Version history** panel, you can see the list of versions of the asset.

   <figure><img src="/files/XI1RXbEklz8L2W6qV5N3" alt="" width="563"><figcaption></figcaption></figure>
4. Select a version to view the detailed changes.


---

# Agent Instructions: 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:

```
GET https://docs.reorc.com/asset-management/version-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
