This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-08-20. 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.

Article version: Enterprise Server 2.18

Managing the forking policy for your repository

You can allow or prevent the forking of a specific private repository owned by an organization.

People with admin permissions for a repository can manage the forking policy for the repository.

Did this doc help you?

An organization owner must allow forks of private repositories on the organization level before you can allow or disallow forks for a specific repository. For more information, see "Managing the forking policy for your organization."

  1. On GitHub Enterprise, navigate to the main page of the repository.
  2. Under your repository name, click Settings.
    Repository settings button
  3. Under "Features", select Allow forking.
    Checkbox to allow or disallow forking of a private repository

Further reading

Did this doc help you?

Ask a human

Can't find what you're looking for?

Contact us