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
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | print JSON instead of a table | |
--tenant | string | default | tenant |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.