feat(commands/mr/checkout): add --set-upstream-to flag
Created by: maxice8
Description
This adds the --set-upstream-to
| -u
flag which denotes a [REMOTE/]BRANCH
to track.
This is mutually exclusive with --track
because that also sets a tracking.
Related Issue
Resolves #544 (closed)
How Has This Been Tested?
glab mr checkout rspamd --set-upstream-to upstream/master
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)