About merge methods on GitHub - User Documentation https://help.github.com/articles/about-merge-methods-on-github/
Merge request
CollapseCustomize your merge request restrictions.
A merge commit is created for every merge, and merging is allowed as long as there are no conflicts.
A merge commit is created for every merge, but merging is only allowed if fast-forward merge is possible. This way you could make sure that if this merge request would build, after merging to target branch it would also build.
When fast-forward merge is not possible, the user is given the option to rebase.
No merge commits are created and all merges are fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded.
When fast-forward merge is not possible, the user is given the option to rebase.
Pipelines need to be configured to enable this feature.