What is been changed?
- The following instances:
{% data reusables.profile.access_profile %}
{% data reusables.profile.access_org %}
{% data reusables.organizations.org_settings %}
Is replaced with:
{% data reusables.profile.access_org %}
{% data reusables.organizations.org_settings %}
2.0 KiB
title, intro, redirect_from, versions, topics
| title | intro | redirect_from | versions | topics | ||||
|---|---|---|---|---|---|---|---|---|
| Restoring a deleted repository | You can restore some deleted repositories to recover their contents. |
|
|
|
Anyone can restore deleted repositories that were owned by their own user account. Organization owners can restore deleted repositories that were owned by the organization.
About repository restoration
A deleted repository can be restored within 90 days, unless the repository was part of a fork network that is not currently empty. A fork network consists of a parent repository, the repository's forks, and forks of the repository's forks. If your repository was part of a fork network, it cannot be restored unless every other repository in the network is deleted or has been detached from the network. For more information about forks, see "About forks."
If you want to restore a repository that was part of a fork network that is not currently empty, you can contact {% data variables.contact.contact_support %}.
It can take up to an hour after a repository is deleted before that repository is available for restoration.
Restoring a repository will not restore release attachments or team permissions. Issues that are restored will not be labeled.
Restoring a deleted repository that was owned by a user account
{% data reusables.user_settings.access_settings %} {% data reusables.user_settings.repo-tab %} {% data reusables.user_settings.deleted-repos %} {% data reusables.user_settings.restore-repo %} {% data reusables.user_settings.restore-confirmation %}
Restoring a deleted repository that was owned by an organization
{% data reusables.profile.access_org %} {% data reusables.organizations.org_settings %} {% data reusables.organizations.deleted-repos %} {% data reusables.user_settings.restore-repo %} {% data reusables.user_settings.restore-confirmation %}