class Git::Commands::Branch::UnsetUpstream

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).

@example Unset upstream for current branch

unset_upstream = Git::Commands::Branch::UnsetUpstream.new(execution_context)
unset_upstream.call

@example Unset upstream for a specific branch

unset_upstream = Git::Commands::Branch::UnsetUpstream.new(execution_context)
unset_upstream.call('feature')

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

@see Git::Commands::Branch

@see git-scm.com/docs/git-branch git-branch

@api private