> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assert.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Branch Updates

> Review a pull request merged with the latest base branch

When the base branch has moved ahead of a pull request, Assert prepares a
**branch update**: the PR merged with the latest base branch. You can review the
result and use it to update the PR. If the merge has conflicts, an agent resolves
them in an isolated sandbox, and you can inspect the resolution.

## Reviewing a branch update

When **Branch update ready** appears in the review header, open it to see what
the merge adds to the PR. Check the resolution and how it interacts with the PR's
changes.

![The Branch update ready pill in the review header](https://mintcdn.com/assertlabs/PToacwQ63txlsKW-/images/branch-updates/branch-update-ready.png?fit=max\&auto=format\&n=PToacwQ63txlsKW-\&q=85\&s=8bcd578bc9a9f72c58a157dd53beb66f)

## Updating the branch

To apply the branch update, choose **Update branch**. This adds a merge commit to
the PR branch without rewriting its history. If you have the branch checked out
locally, run `git pull` to get it.

Use [Re-review](https://docs.assert.dev/reviewing/re-review.md) to check later changes. Updating the branch
doesn't approve or merge the PR.

> [!NOTE]
>
> The **Merge commit** dropdown beside the branch update controls how the PR
> eventually lands on its base branch: merge, squash, or rebase.

## Automatic updates

In **Account settings → Branch updates**, choose whether Assert updates pull
requests you authored in that workspace:

| Setting | Behavior |
| :- | :- |
| Don't Auto-Update | Assert doesn't update the branch; you apply each branch update yourself. |
| Auto-Update On Conflicts | Assert pushes branch updates that resolve conflicts to the PR branch. |
| Always Auto-Update | Assert pushes every branch update, keeping the PR branch current. |

These settings only update the PR branch; they don't approve or merge it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.