class Git::Commands::ConfigOptionSyntax::ReplaceAll

Replace all matching values for a config key

Wraps ‘git config –replace-all` to replace all entries matching the given key and optional value regex with a new value.

@example Replace all values for a key

cmd = Git::Commands::ConfigOptionSyntax::ReplaceAll.new(lib)
cmd.call('core.autocrlf', 'true')

@example Replace values matching a pattern

cmd = Git::Commands::ConfigOptionSyntax::ReplaceAll.new(lib)
cmd.call('core.autocrlf', 'true', 'false')

@note ‘arguments` block audited against git-scm.com/docs/git-config/2.53.0

@see Git::Commands::ConfigOptionSyntax

@see git-scm.com/docs/git-config git-config documentation

@api private