Article version: Enterprise Server 2.15

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-10-16. 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.

Disabling the merge conflict editor for pull requests between repositories

You can require people to resolve merge conflicts locally by disabling the merge conflict editor on GitHub Enterprise Server for pull requests where the base branch and the head branch are in different repositories.

Requiring users to resolve merge conflicts locally on their computer can prevent people from inadvertently writing to an upstream repository from a fork.

  1. In the upper-right corner of any page, click .

    Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Business.

    Business tab in the Site admin settings

  3. Under your business account's name, click Settings.

    Settings tab on the business account profile page

  4. In the left sidebar, click Options.

    Options tab in the business account settings sidebar

  5. Under "Conflict editor for pull requests between repositories", use the drop-down menu, and click Disabled.

    Drop-down menu with option to disable the merge conflict editor

Ask a human

Can't find what you're looking for?

Contact us