Module: Git::Commands::ConfigOptionSyntax Private
- Defined in:
- lib/git/commands/config_option_syntax.rb,
lib/git/commands/config_option_syntax/add.rb,
lib/git/commands/config_option_syntax/get.rb,
lib/git/commands/config_option_syntax/set.rb,
lib/git/commands/config_option_syntax/list.rb,
lib/git/commands/config_option_syntax/unset.rb,
lib/git/commands/config_option_syntax/get_all.rb,
lib/git/commands/config_option_syntax/get_color.rb,
lib/git/commands/config_option_syntax/unset_all.rb,
lib/git/commands/config_option_syntax/get_regexp.rb,
lib/git/commands/config_option_syntax/replace_all.rb,
lib/git/commands/config_option_syntax/get_urlmatch.rb,
lib/git/commands/config_option_syntax/get_color_bool.rb,
lib/git/commands/config_option_syntax/remove_section.rb,
lib/git/commands/config_option_syntax/rename_section.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Implements the git config command using the option-based interface
This module contains command classes for the pre-2.46.0 option-based
git config interface (--get, --list, --add, etc.):
Read operations:
- Get — retrieve a single value (
--get) - GetAll — retrieve all values for a multi-valued key (
--get-all) - GetRegexp — retrieve values matching a name regex (
--get-regexp) - GetUrlmatch — retrieve URL-matched values (
--get-urlmatch) - GetColor — retrieve an ANSI color string (
--get-color) - GetColorBool — query whether color output is enabled (
--get-colorbool) - List — list all config entries (
--list)
Write operations:
- Set — set a config value (implicit set mode)
- Add — append a value to a multi-valued key (
--add) - ReplaceAll — replace all matching values (
--replace-all)
Delete operations:
Section operations:
- RenameSection — rename a config section (
--rename-section) - RemoveSection — remove a config section (
--remove-section)
Defined Under Namespace
Classes: Add, Get, GetAll, GetColor, GetColorBool, GetRegexp, GetUrlmatch, List, RemoveSection, RenameSection, ReplaceAll, Set, Unset, UnsetAll