Article version: Enterprise Server 2.13

This version of GitHub Enterprise will be discontinued on 2019-03-27. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Configuring pull request merges

You can configure pull request merges on your GitHub Enterprise Server instance to match your workflow and preferences for managing Git history by enabling, disabling, or enforcing standard merge commits, squashed commits, or rebased commits on all pull requests in your repository.

About merge methods on GitHub

You can allow contributors with push access to your repository to merge their pull requests on your GitHub Enterprise Server instance with different merge options or enforce a specific merge method for all of your repository's pull requests.

Configuring commit squashing for pull requests

You can enforce, allow, or disable commit squashing for all pull request merges on your GitHub Enterprise Server instance in your repository.

Configuring commit rebasing for pull requests

You can enforce, allow, or disable commit rebasing for all pull request merges on your GitHub Enterprise Server instance in your repository.

Ask a human

Can't find what you're looking for?

Contact us