Set up a merge strategy for a project

Merge strategies define how the commit history appears when someone merges a pull request into a repository. As a project admin, you can set the merge strategy within the project which will then be reflected on any repositories created in that project. Note: For any repositories added to the project, you will need to go into that repository and inherit the project’s settings to implement the project-level settings on that repository that you added.

  1. In the project, select Project settings on the left sidebar.

  2. Select Merge strategies under Workflow on the left sidebar.

  3. Select the Default merge strategy dropdown menu and select the merge strategy you would like to set for this project.

  4. Select Save.

For more details about merge strategies and why you'd use each one, see that section of the Merge a pull request page.

Additional Help