# Make a commit live, lock a branch, and roll back

> Choose the exact commit your customers get, close a branch to further commits, archive one you no longer need, and go back to an earlier commit.

- Source: https://www.aui.io/help/branches/make-a-commit-live
- Section: Branches and going live
- Last updated: November 23, 2026

Your customers always get exactly one commit of your agent: the live commit. Pushing never changes it. It changes only when someone makes another commit live, which is a deliberate action in the **Branches** window.

## Before you make a commit live

- **Test it.** Open the commit, talk to it in the Playground, and run a regression or an evaluation. See [Run a regression or an evaluation](https://www.aui.io/help/evaluations/run-a-regression-or-evaluation).
- **Compare it with what is live now.** See [Compare two commits](https://www.aui.io/help/branches/work-on-another-branch#compare-two-commits).

## Make a commit live

1. Select the branch pill in the top bar to open the **Branches** window.
2. On the branch that holds the commit, select its commit count to list the commits.
3. On the commit's row, select the rocket icon. Its tooltip reads **Make** followed by the commit's tag and **live**.

   To make a branch's newest commit live, you can use the rocket icon on the branch card instead.
4. Read the dialog. It names the commit, says customers get this exact commit until someone makes another one live, and names the commit it replaces.
5. Select **Make live**.

The commit gets the green **Live** chip and its branch card is outlined in green. Later commits on the same branch do not go live on their own: when you push a new commit, customers keep getting the live one until you make the new commit live.

![The Make Initial Branch live dialog in dark mode over the Branches window. The text says customers get its latest commit, v0.2, until someone makes another one live, that later commits on the branch do not go live on their own, and that it replaces v0.1, which is live now. The Cancel and Make live buttons sit at the bottom right.](https://www.aui.io/assets/help/branches/make-a-commit-live/make-live-dialog.png)

*The dialog names the commit customers will get and the one it replaces.*

> [!IMPORTANT]
> Making a commit live changes what your customers get. Check that the dialog names the commit you expect before you select **Make live**.

## Roll back

To go back to an earlier commit, make that commit live, using the same steps. Nothing is deleted: the newer commits stay on their branch, and you can make one of them live again later.

## Lock a branch

Locking closes a branch so no more commits land on it, for example when a release is final and you want later work to happen elsewhere. Locking says nothing about what customers get: a locked branch can hold the live commit, and so can a draft one.

- **To lock,** select the lock icon on the branch card. If you have a builder session with unsaved changes on that branch, Lock first commits that session's work, then closes the branch.
- **A locked branch** shows **Locked** instead of **Draft**.
- **If you push to a locked branch,** the push creates a new draft branch with your changes. The builder tells you this before you push.
- **To unlock,** select the unlock icon on the card. Commits can land on the branch again; what customers get does not change.

![The Initial Branch card in the Branches window in dark mode, with the Locked and Live chips beside its name and a green outline. Its latest commit, v0.3, is shown below, and the pointer is on the unlock icon among the card's actions.](https://www.aui.io/assets/help/branches/make-a-commit-live/locked-branch.png)

*Locked and Live are independent.*

## Archive a branch

Archive a branch you no longer need to take it out of every list. An archived branch cannot be made live, so archiving is not offered on the branch that holds the live commit.

1. On the branch card, select the archive icon (**Archive branch**).
2. Confirm with **Archive**.

To bring it back, open **Archived** at the bottom of the Branches window and select **Restore** beside it. It returns as a draft branch.

## From the CLI

The same actions exist in the Apollo CLI, for example `apollo version live <tag>` to make a commit live and `apollo version lock <branch>` to lock a branch. See the [CLI command reference](https://docs.aui.io/cli/commands).
