Adding a selection does not activate it. Use
gat selection default NAME
to choose a default, or --selection NAME for one operation. Without a
default, supported commands select the whole repository.Defaults and configuration scopes
Defaults and configuration scopes
Different names coexist across scopes. A higher-priority definition replaces
the complete entry of the same name. The default choice inherits separately,
so a local default can use a shared project definition.Use
add --local with a complete definition to override a project selection.
Updates and removals must target the defining scope. Removing an override can
reveal an inherited definition, but cannot leave the default dangling.gat selection default --local --unset restores inheritance. To persist an
unrestricted choice, save a selection with --path . and no filters, then
choose it as the default.Usage
All options
All options
Subcommands
gat selection list
gat selection show
gat selection add
gat selection update
gat selection remove
gat selection default
gat selection add
Save a complete definition. Adding a selection never chooses a default.Usage
All options
All options
Examples
Patterns are relative to models.gat selection default
Show or choose the optional default. —unset removes this scope’s pointer and restores inheritance. It does not select everything when a lower layer has a default.Usage
All options
All options
Examples
- Choose default
- Unset
Uses the shared definition without copying its filters.
gat selection list
List effective saved selections and mark the default.Usage
All options
All options
Examples
Lists available definitions without changing configuration.gat selection remove
Remove a definition in the selected scope. A lower-priority definition may be revealed. Removal cannot leave the effective default dangling.Usage
All options
All options
Examples
Reveals a project or global runtime definition when present.gat selection show
Show the saved path, patterns, and defining scope.Usage
All options
All options
Examples
Reads the effective runtime definition.gat selection update
Update a definition in its existing scope. Omitted fields are preserved; supplied lists replace the saved lists.Usage
All options
All options

