---
title: "af sync"
description: "Update the workspace to main's latest landing"
---

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

# af sync

<!-- Generated by tools/gen-reference.mjs from `af sync --help`. Change the help text in crates/atoll-forge-cli/src/main.rs, then run `npm run gen:reference`. -->

A landing is a change that has landed on main. If the workspace has an open change, it is rebased onto the latest landing, and any conflicts are written into the affected files.

## Usage

```text
af sync [OPTIONS]
```

## Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## Examples

```sh
af sync
```

Source: https://docs.forge.workreef.dev/reference/af/sync/index.mdx
