---
title: "af diff"
description: "Show the workspace's change compared with the commit it is based on"
---

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

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

Lists the changed files, with a unified diff of each text file.

## Usage

```text
af diff [OPTIONS]
```

## Global options

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

## Examples

```sh
af diff
```

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