CLI reference
storeenv commit
Save a version of your env files on this machine. Works offline; storeenv push uploads it later.
Global flags Offline
zsh
$ cd ~/code/my-app$ storeenv commit -m "Turn the flag on"[local fdab642] Turn the flag on.env + FEATURE_FLAG1 local commit not pushed. Upload with storeenv push, undo with storeenv commit --undo.
$ storeenv commit
Flags
--message <value>, -m | Commit message. |
--undo | Drop the last local commit (your files are not touched). |
Good to know
- Snapshots are encrypted with a key that never leaves this device.
- storeenv push uploads local commits first, in order, each as its own version.
- --undo drops the last local commit; your files are not touched.
Related commands
Global flags
--project <value> | Project as <namespace/name> or its id (default: .storeenv.json, then this repository's remotes). |
--env <value> | Environment name. |
--json | Machine readable output. |
--yes, -y | Skip confirmations. |
--color | Coloured output (--no-color to turn off). Default: true. |
--verbose | Show 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-unsigned | pull 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. |