oz0 changes rollback

Usage and flags for oz0 changes rollback.

For: Operators and developers looking up a command.

Reverses the patch a job's applied changeset landed, and starts a tool job that applies the inverse with the same function to the target's default branch as it is then (for oz0_github.push_changes: a draft pull request that reverts it, however the first pull request was merged). Every file the inverse touches must still be what the first apply wrote, so a rollback applies only once that change is merged; an unmerged pull request is closed instead.

That job waits for a changes approval of exactly the inverse, as the first one did. Operators with the content permission may.

Usage

oz0 changes rollback <job> [flags]

Flags

FlagTypeDefaultDescription
--jsonboolprint JSON instead of a table
--tenantstringdefaulttenant

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026