ks file reset

ks file reset

Resets locally modified files with their cached contents

Synopsis

Resets locally modified files with their cached contents.

You can modify a file managed by Keystone without using ks file set. However, you will no longer receive updates on that file, and won’t be able to change environment. To discard the changes you made, use ks file reset [file path]....

ks file reset [file path]... [flags]

Examples

# To reset one specific file
ks file reset ./config.js

# To reset all mananged files
ks file reset

Options

  -h, --help   help for reset
  -y, --yes    force yes to prompts

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default

SEE ALSO

Auto generated by spf13/cobra on 13-Oct-2021

Edit this page on GitHub