git-project-manager/docs/git-project-manager_cache_clear.md
Ryan D McGuire 870760443e
All checks were successful
Build and Publish / release (push) Successful in 1m6s
Add version to build
2024-12-31 20:51:04 -05:00

37 lines
1.1 KiB
Markdown

## 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
* [git-project-manager cache](git-project-manager_cache.md) - Manage Git project cache
###### Auto generated by spf13/cobra on 31-Dec-2024