Skip to content

feat(mr create): add `--squash-before-merge` parameter

Kerri Miller requested to merge github/fork/pataar/patch-3 into trunk

Created by: pataar

Description This adds the --squash-before-merge parameter to mr create. Which allows the merge request the be squashed by default. See: https://docs.gitlab.com/ee/api/merge_requests.html#create-mr

Related Issue How Has This Been Tested? I've used the binary built from this fork against a private Gitlab instance. Worked as expected.

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