# 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="https://786945529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFTrGKWnjusKCQj11CkuL%2Fuploads%2F0DWeCymHnYpgVLAegh3Y%2FRecurve_asset_publish_button.png?alt=media&#x26;token=b8205ac2-4445-4685-afae-146b78bcad77" 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="https://786945529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFTrGKWnjusKCQj11CkuL%2Fuploads%2FSOiKbBFZMJloCzl7Jxlx%2FRecurve_publish_model_modal.png?alt=media&#x26;token=14797360-02cb-4176-ae55-fe1effd9d760" 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="https://786945529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFTrGKWnjusKCQj11CkuL%2Fuploads%2FFoRCOwZJ4lU3jeujHXda%2FRecurve_version_history_button.png?alt=media&#x26;token=9ecc039b-46d0-4b55-8e9d-26744e12ac37" 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="https://786945529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFTrGKWnjusKCQj11CkuL%2Fuploads%2FEoWE3wtOECfTy8NTKc95%2FRecurve_version_history_panel.png?alt=media&#x26;token=69d3f3e0-2375-4cd8-b4cf-20780ba2c031" alt="" width="563"><figcaption></figcaption></figure>
4. Select a version to view the detailed changes.
