Class: Git::Commands::ConfigOptionSyntax::RenameSection Private
- Defined in:
- lib/git/commands/config_option_syntax/rename_section.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
Rename a config section
Wraps git config --rename-section to rename a section in the
config file.
Instance Method Summary collapse
-
#call(old_name, new_name, **options) ⇒ Git::CommandLineResult
Execute the
git config --rename-sectioncommand.
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(old_name, new_name, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/config_option_syntax/rename_section.rb', line 44
|