Configuration Overview¶
LazyWorktree supports layered configuration from defaults up to CLI overrides.
Use this page when: you need to understand where settings come from and how to apply them safely.
Configuration Sources¶
Highest to lowest precedence:
- CLI
--configoverrides - Git local configuration (
git config --local) - Git global configuration (
git config --global) - YAML file (
~/.config/lazyworktree/config.yaml) - built-in defaults
Global YAML¶
Primary config file:
~/.config/lazyworktree/config.yaml
Reference example:
Git Configuration Prefix¶
Use lw. keys:
List configured keys: