我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

限制在组织中创建仓库

为保护组织的数据,您可以配置在组织中创建仓库的权限。

You can choose whether members can create repositories in your organization and, if your organization uses GitHub Enterprise Cloud, which types of repositories (public, internal, and private) members can create. You can only allow members to create internal repositories if your organization is associated with an enterprise account. 内部仓库是企业帐户所拥有的组织中的所有新仓库的默认设置。 You can restrict repository creation permissions and the ability to transfer repositories into the organization to organization owners, allow members to create public and private repositories, or, if your organization uses GitHub Enterprise Cloud, allow members to create private repositories only. Organization owners can always create any type of repository. For more information about repository types, see "Setting repository visibility."

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.

    Profile photo

  2. On the left side of your profile page, under "Organizations", click the icon for your organization.

    organization icons

  3. Under your organization name, click Settings.

    Organization settings button

  4. In the left sidebar, click Member privileges.

    Member privileges option in org settings

  5. Under "Repository creation", select one or more options.

    Radio buttons with repository creation options

  6. 单击 Save(保存)

问问别人

找不到要找的内容?

联系我们