Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19703

The ability to setup merge strategy per branch

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Pull Request - Merge
    • None
    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently, Bitbucket supports the configuration of only one default merge strategy for all branches.

      We would like to have the ability to setup merge strategy per branch. 

      Reasoning: Only having one default merge strategy for all branches makes a lot of issues and human mistakes because we need to merge from feature to dev by squash from dev to stage by fast forward and from stage to master fast forward.

      Developers a lot of times by mistake use inappropriate merge strategy and generate tons of conflicts for next iteration.

      Give the option of something similar to the following:

      "Require Squashed Merges Into:

      Override: Yes

      [x] Default [x] Development [x] Production [x] Release Branches

      This setting forces squashes for all merges coming into those branches (based on the repo's branching model), merges between those branches do not require squashes."

              Unassigned Unassigned
              dfcc8646b197 Kevin
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: