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. In the left sidebar, click Admin center. Admin Center tab

  3. Under "Conflict editor for pull requests between repositories," select Disabled or Enabled. Select disabled or enabled in conflict editor drop-down menu