---
title: "af edit"
description: "Switch the workspace to another open change"
---

> 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 edit

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

The workspace's files are first snapshotted into the current change, then replaced with the files of the chosen change.

## Usage

```text
af edit [OPTIONS] <CHANGE>
```

## Arguments

- `<CHANGE>`

  Change to switch to, by change ID

## Global options

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

## Examples

```sh
af edit kxqpzvom
```

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