Managing the forking policy for your repository

You can allow or prevent the forking of a specific private or internal 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?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.

An organization owner must allow forks of private and internal 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."

Note: Internal repositories are available for organizations that are part of an enterprise account. For more information, see "About repository visibility."

  1. On GitHub, 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?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.