Skip to content

feat(commands/mr/create): fix logic for setting upstream branch

Kerri Miller requested to merge github/fork/maxice8/glab-set-upstream into trunk

Created by: maxice8

Description

basically reverts #408

How Has This Been Tested?

Tested by pushing a remote-less (gets origin/branchname) and one with a pre-set remote (keeps 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)

Merge request reports