Skip to main content

Esta versión de GitHub Enterprise Server se discontinuó el 2024-09-25. No se realizarán lanzamientos de patch, ni siquiera para problemas de seguridad críticos. Para obtener rendimiento mejorado, seguridad mejorada y nuevas características, actualice a la versión más reciente de GitHub Enterprise Server. Para obtener ayuda con la actualización, póngase en contacto con el soporte técnico de GitHub Enterprise.

Eliminar un repositorio

Puedes eliminar cualquier repositorio o bifurcación si eres un propietario de la organización o si tienes permisos de administración para el repositorio o la bifurcación. Eliminar un repositorio bifurcado no elimina el repositorio ascendente.

Only members with owner privileges for an organization or admin privileges for a repository can delete an organization repository, and these users may be prevented from deleting a repository by an organization or enterprise policy. For more information, see "Repository roles for an organization."

Deleting a public repository will not delete any forks of the repository.

Warning

  • 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 GitHub, 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. On the "General" settings page (which is selected by default), scroll down to the "Danger Zone" section and click Delete this repository.

  4. Click I want to delete this repository.

  5. Read the warnings and click I have read and understand these effects.

  6. To verify that you're deleting the correct repository, in the text box, type the name of the repository you want to delete.

  7. Click Delete this repository.