If you enable the setting to always suggest updating pull request branches in your repository, people with write permissions will always have the ability, on the pull request page, to update a pull request's head branch when it's not up to date with the base branch. When not enabled, the ability to update is only available when the base branch requires branches to be up to date before merging and the branch is not up to date. For more information, see "Keeping your pull request in sync with the base branch."
Note: This feature was unavailable in GitHub Enterprise Server 3.5.0, 3.5.1, 3.5.2, and 3.5.3. The feature is available in 3.5.4 and later. For more information about upgrades, contact your site administrator.
For more information about determining the version of GitHub Enterprise Server you're using, see "About versions of GitHub Docs."
- On your GitHub Enterprise Server instance, navigate to the main page of the repository.
- Under your repository name, click Settings.
- Under "Pull Requests", select or unselect Always suggest updating pull request branches.