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, --message | Commit message. It becomes the version message when you push. |
| --undo | Drop 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>