Skip to main content

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

Удаление репозитория

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

Only members with owner privileges for an organization or admin privileges for a repository can delete an organization repository. If Allow members to delete or transfer repositories for this organization has been disabled, only organization owners can delete organization repositories. For more information, see "Repository roles for an organization."


  • Deleting a repository will permanently delete release attachments and team permissions. This action cannot be undone.
  • Deleting a private or internal repository will delete all forks of the repository.

Some deleted repositories can be restored within 90 days of deletion. Your site administrator may be able to restore a deleted repository for you. For more information, see "Restoring a deleted repository."

  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. In the "Danger Zone" section, click Delete this repository.
  4. Read the warnings.
  5. To verify that you're deleting the correct repository, in the text box, type the name of the repository you want to delete.
  6. Click I understand the consequences, delete this repository.