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. Select disabled or enabled in conflict editor drop-down menuUnder "Conflict editor for pull requests between repositories," select Disabled or Enabled.