Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #27956
Closed
Open
Created Feb 09, 2017 by Matheus Jardim Bernardes@matheus.jardim

Set default value for merge request options

Description

It's quite usual to see colleagues forgetting to check "Remove source branch when merge request is accepted." when creating merge requests. I'd expect the same to happen with the new option "Squash commits when merge request is accepted.".

Proposal

The solution for this may be quite simple:

  • Add a small form in the project settings page to let users define a default value for these two options.
  • In order to generate no side-effect, the default value continues to be 'false' and people with proper permission may change it to be 'true', so that any new merge request gets both options checked by default.
Assignee
Assign to
Time tracking