Docs / CLI reference / commit

storeenv commit

Save a version of your env files on this machine. Works offline.

$ storeenv commit [-m <message>] [--undo]

Flags

-m, --messageCommit message. It becomes the version message when you push.
--undoDrop the last local commit. Your files are not touched.

Example

$ storeenv commit -m "Turn the flag on"
  [local 3f2a1b9] Turn the flag on
    backend/.env                 + FEATURE_FLAG

  1 local commit not pushed. Upload with storeenv push.

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.
  • See them with storeenv log --local.

Global flags

--project <owner/name>, --env <name>, --json, --yes, --no-color, --verbose, --api <url>

Stop pasting secrets into chat.

$ npm i -g storeenv Get started