title | intro | redirect_from | permissions | versions | topics | shortTitle | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Managing the forking policy for your repository |
You can allow or prevent the forking of a specific private{% ifversion ghes or ghec %} or internal{% endif %} repository owned by an organization. |
|
People with admin permissions for a repository can manage the forking policy for the repository. |
|
|
Manage the forking policy |
An organization owner must allow forks of private{% ifversion ghes or ghec %} and internal{% endif %} repositories on the organization level before you can allow or disallow forks for a specific repository. For more information, see "AUTOTITLE."
You can help prevent sensitive information from being exposed by disabling the ability to fork repositories in your organization. For more information, see "AUTOTITLE."
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}
- Under "Features", select Allow forking. If you do not have this option, you may not have permissions to control this setting. Check with the owner of the organization that administers the repository or with the owner of the repository about your access.