git-project-manager/docs/git-project-manager_cache_clear.md

1.1 KiB

git-project-manager cache clear

Clear Git Project Cache

Synopsis

Used to reset a project cache, forcing it to be rebuilt.

If --clearAliases is provided, will also reset aliases. Use with caution.

git-project-manager cache clear [flags]

Options

      --clearAliases   Will also clear aliases from the cache, use with caution
  -h, --help           help for clear

Options inherited from parent commands

      --config string        config file (default is ~/.config/git-project-manager.yaml)
      --logLevel string      Default log level -- info, warn, error, debug (default "info")
      --projectPath string   Sets a path for local clones of projects
      --remote strings       Specify remotes by host for any sub-command. Provide multiple times or comma delimited.
      --ttl duration         Duration before cache is re-built in go time.Duration format (default 48h0m0s)

SEE ALSO

Auto generated by spf13/cobra on 30-Dec-2024