Skip to content
Workloom
Menu

CLI command · Publishing

wl rollback

Roll a workspace back to a previous revision.

Workspace revisions are append-only, so a rollback points the workspace at an earlier revision instead of rewriting history.

Usage

wl rollback [options]

Arguments and options

--workspace-revision <n>
The revision number to roll back to.
-d, --dir <path>
Workspace directory. Default: the current one.
--registry <url>
Registry URL. Default: $WL_REGISTRY_URL, then http://localhost:3000.
-y, --yes
Skip the confirmation prompt.