Skip to content

feat(commands/mr/checkout): add --set-upstream-to flag

Kerri Miller requested to merge github/fork/maxice8/checkout-track-the into trunk

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

Screenshots (if appropriate): image

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)

Merge request reports