Class: Git::Commands::Remote::SetHead Private
- Defined in:
- lib/git/commands/remote/set_head.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-remote/2.53.0
git remote set-head command
Sets or deletes the default branch (symbolic HEAD) for the named remote.
Instance Method Summary collapse
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, branch) ⇒ Git::CommandLineResult #call(name, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/remote/set_head.rb', line 42
|