Skip to main content

Setting permissions for deleting or transferring repositories

You can allow organization members with admin permissions to a repository to delete or transfer the repository, or limit the ability to delete or transfer repositories to organization owners only.

Owners can set permissions for deleting or transferring repositories in an organization.

Limiting the ability to delete or transfer repositories helps prevent sensitive information from being exposed. For more information, see Best practices for preventing data leaks in your organization.

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
  2. Next to the organization, click Settings.
  3. In the "Access" section of the sidebar, click Member privileges.
  4. Under "Repository deletion and transfer", select or deselect Allow members to delete or transfer repositories for this organization.
  5. Click Save.