此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持。
Configuring pull request merges
- 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 merging for pull requests- You can enforce, allow, or disable merging with a merge commit for all pull request merges on your GitHub Enterprise Server instance in your repository. 
- 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. 
- Managing auto-merge for pull requests in your repository- You can allow or disallow auto-merge for pull requests in your repository. 
- Managing the automatic deletion of branches- You can have head branches automatically deleted after pull requests are merged in your repository.