Merge Rules
As an administrator, you can set up conditions that branches must meet to be merged into other branches.
To create a merge rule:
- From the Organization settings page, go to Merge Rules > New Merge Rule.
- Select the Merge condition.
- Select the repository the condition should apply to.
- Add the source branch.
- Add attributes in the form of name/value pairs (optional).
- Add the destination branch. Note: You can choose to enable the rule or enable it later.
- Select Save rule.