You can require people to resolve merge conflicts locally by disabling the merge conflict editor on GitHub Enterprise 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. Sign in to your GitHub Enterprise instance at http(s)://HOSTNAME/login.

  2. Admin Center tabIn the left sidebar, click Admin center.

  3. Drop-down menu with option to disable the merge conflict editorUnder "Conflict editor for pull requests between repositories", use the drop-down menu, and click Disabled.