Are you sure you want to delete this access key?
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:
{% 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.
3. Read the warnings.
4. To verify that you're deleting the correct repository, type the name of the repository you want to delete.
5. Click I understand the consequences, delete this repository.
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?