You can configure pull request merges on your GitHub Enterprise instance to match your workflow and preferences for managing Git history by enabling, disabling, or enforcing standard merge commitsor squashed 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 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 instance in your repository.