This version of GitHub Enterprise Server will be discontinued on 2026-03-17. 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 Server. For help with the upgrade, contact GitHub Enterprise support.
Configuring branches and merges in your repository
You can manage branches in your repository, configure the way branches are merged in your repository, and protect important branches by defining the mergeability of pull requests.
- Managing branches in your repository
- Configuring pull request merges
- About merge methods on GitHub
- Configuring commit merging for pull requests
- Configuring commit squashing for pull requests
- Configuring commit rebasing for pull requests
- Managing a merge queue
- Managing suggestions to update pull request branches
- Managing auto-merge for pull requests in your repository
- Managing the automatic deletion of branches
- Managing protected branches
- Managing rulesets for a repository