Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

deleting-a-repository.md 2.0 KB

You have to be logged in to leave a comment. Sign In
title intro redirect_from versions
Deleting a repository You can delete any repository or fork if you're either an organization owner or have admin permissions for the repository or fork. Deleting a forked repository does not delete the upstream repository. [/delete-a-repo/ /deleting-a-repo/ /articles/deleting-a-repository] [{free-pro-team *} {enterprise-server *} {github-ae *}]

{% data reusables.organizations.owners-and-admins-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. {% data reusables.organizations.new-repo-permissions-more-info %}

{% if currentVersion != "github-ae@latest" %}Deleting a public repository will not delete any forks of the repository.{% endif %}

{% warning %}

Warnings:

  • Deleting a repository will permanently delete release attachments and team permissions. This action cannot be undone.
  • Deleting a private {% if currentVersion ver_gt "enterprise-server@2.19" or currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" %}or internal {% endif %}repository will delete all forks of the repository.

{% endwarning %}

{% if currentVersion == "free-pro-team@latest" %} You can restore some deleted repositories within 90 days. For more information, see "Restoring a deleted repository." {% endif %}

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} 2. Under Danger Zone, click Delete this repository. Repository deletion button 3. Read the warnings. 4. To verify that you're deleting the correct repository, type the name of the repository you want to delete. Deletion labeling 5. Click I understand the consequences, delete this repository.

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...