Skip to main content

Выпуск GitHub AE сейчас ограничен.

Управление политикой создания вилок для репозитория

Вы можете разрешить или запретить создание вилок определенного частного или внутреннего репозитория, принадлежащего организации.

Кто может использовать эту функцию.

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

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."

  1. On your enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. 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.

Further reading