Documentation

Install the CLI, learn the model and look up every command.

CLI reference

storeenv rollback

Create a new version equal to an older one (history is kept).

Global flags
zsh
$ cd ~/code/my-app
$ storeenv rollback b8c7ece -m "Back to the first version" --yes
This creates a new version on default identical to b8c7ece.
Keys affected: - FEATURE_FLAG - LOG_LEVEL
default v 03f86b8 "Back to the first version"
Run "storeenv pull --env default" on machines that need it.
$ storeenv rollback <target>

Arguments

<target>Version id to return to.

Flags

--message <value>, -mReason, saved as the version message.

Good to know

  • History only moves forward, like git revert: a rollback is a new version equal to an older one.
  • Re-key versions can't be rolled back.

Global flags

--project <value>Project as <namespace/name> or its id (default: .storeenv.json, then this repository's remotes).
--env <value>Environment name.
--jsonMachine readable output.
--yes, -ySkip confirmations.
--colorColoured output (--no-color to turn off). Default: true.
--verboseShow debug details.
--api <value>API base URL of a self-hosted StoreEnv.
--trust-writer <value>Trust a writer for this run: @login=SE:XXXX-XXXX-XXXX.
--allow-unsignedpull and diff: use values that aren't signed by a trusted writer, after you confirm on a terminal (or with STOREENV_ALLOW_UNSIGNED=1). Never applies to run or copy.