Skip to content

af new

Start a new change in the workspace

If the workspace’s current change is open or waiting to land, the new change is stacked on top of it, and the stack lands together. Otherwise the new change starts from the landing the workspace is at, which is first updated to main’s latest if the previous change has landed or was abandoned. Every edit to the workspace’s files from then on belongs to the new change.

Name other open or submitted changes to build on them as well, making a merge: their files come into the workspace, and the new change lands only after each of them has landed or been abandoned.

Usage

af new [OPTIONS] [CHANGES]...

Arguments

  • [CHANGES]...

    Other open or submitted changes to build on, by change ID

Options

  • -m, --message <MESSAGE>

    Description of the change

    Default: ""

  • --task <TASK>

    Task the change is part of

Global options

Every af command also takes the global options.

Examples

af new -m "Fix the parser"
af new kxqpzvom -m "Build on an open change"

Type to search…

↑↓ navigate↵ selectEsc close