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
  • #49046
Closed
Open
Created Apr 12, 2017 by Nemo157@Nemo157

Allow disabling "Squash and merge" for a project

Description

This feature is super-useful and we use it in a lot of our repositories. However, we have at least 1 repository where we want to be very careful about maintaining history between a pair of branches, when we merge across from one to the other we have to keep the exact same commits to keep the history working correctly. Since we use this feature in other repositories it's far too tempting for our developers to press it all the time, which results in a new commit being created diverging the branches histories.

Proposal

Add an option in the project settings that can disable and hide this checkbox for all merge requests in the project.

Assignee
Assign to
Time tracking