👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.20

Restricting repository creation in your instance

You can choose whether organization members on your GitHub Enterprise Server appliance can create repositories and which types of repositories members can create.

Were you able to find what you were looking for?

Organization owners can always create any type of repository, and outside collaborators can never create any type of repository. For more information, see "About repository visibility."

  1. In the upper-right corner of any page, click .

    Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Enterprise.

    Enterprise tab in the Site admin settings

  3. In the enterprise account sidebar, click Policies.

    Policies tab in the enterprise account sidebar

  4. Under " Policies", click Repositories.

    Repositories tab in the enterprise account settings sidebar

  5. Under "Repository creation", review the information about changing the setting. Optionally, to view the setting's current configuration for all organizations in the enterprise account before enforcing the setting, click View your organizations' current configurations.

    Link to view the current policy configuration for organizations in the business

  6. Under "Repository creation", select a policy.

    Drop-down menu with repository creation policy options

  7. If you selected Members can create repositories, select one or more repository types.

    Checkboxes for repository types

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us