Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

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

Merged
merged 1 commit into from
Jan 9, 2021
Merged

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

merged 1 commit into from
Jan 9, 2021

Conversation

maxice8
Copy link
Collaborator

@maxice8 maxice8 commented Jan 9, 2021

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

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)

@codecov
Copy link

codecov bot commented Jan 9, 2021

Codecov Report

Merging #545 (85a745b) into trunk (54324ab) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            trunk     #545   +/-   ##
=======================================
  Coverage   60.88%   60.88%           
=======================================
  Files          86       86           
  Lines        5913     5913           
=======================================
  Hits         3600     3600           
  Misses       1979     1979           
  Partials      334      334           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54324ab...85a745b. Read the comment docs.

@maxice8 maxice8 merged commit 5993e23 into profclems:trunk Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add --set-upstream-to=|-u on mr checkout
1 participant