Class: Git::Commands::Branch::UnsetUpstream Private
- Inherits:
-
Git::Commands::Base
- Object
- Git::Commands::Base
- Git::Commands::Branch::UnsetUpstream
- Defined in:
- lib/git/commands/branch/unset_upstream.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-branch/2.53.0
Implements the git branch --unset-upstream command for removing upstream tracking
This command removes the upstream tracking information for the given branch (or current branch if not specified).
Instance Method Summary collapse
-
#call(branch_name = nil, **options) ⇒ Git::CommandLineResult
Execute the
git branch --unset-upstreamcommand.
Methods inherited from Git::Commands::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(branch_name = nil, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/branch/unset_upstream.rb', line 38
|