Class: Git::Commands::ConfigOptionSyntax::Set Private
- Defined in:
- lib/git/commands/config_option_syntax/set.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Note:
arguments block audited against https://git-scm.com/docs/git-config/2.53.0
Set a config value
Wraps the implicit git config <name> <value> set mode to assign
a value to a config key, optionally replacing only the entry
matching a value regex.
Instance Method Summary collapse
-
#call(name, value, value_regex = nil, **options) ⇒ Git::CommandLineResult
Execute the
git config <name> <value>command.
Methods inherited from Base
allow_exit_status, arguments, #initialize, requires_git_version, skip_version_validation
Constructor Details
This class inherits a constructor from Git::Commands::Base
Instance Method Details
#call(name, value, value_regex = nil, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/config_option_syntax/set.rb', line 65
|