I am facing an issue to restore my deleted github repository #169975
Replies: 7 comments
-
| Hi @ashishnayak6488 , Unfortunately, once a repository is permanently deleted from GitHub, it cannot be restored after a certain grace period. As of now, GitHub allows a 7-day window after deletion during which you can restore the repository from the "Deleted Repositories" section in your account settings. Since you deleted the repo on July 16, 2025, and it's now beyond that 7-day window, the restore option will no longer be available — which is why you're not seeing it. 🛠️ What you can try:
 Hope this helps ! | 
Beta Was this translation helpful? Give feedback.
-
| HI @ashishnayak6488 
 ------"git remote set-url origin https://github.com/USERNAME/NEW_REPO_NAME.git (Replace main with your branch name if different.) | 
Beta Was this translation helpful? Give feedback.
-
| Hi @ashishnayak6488 
 For a quick guide, check out these videos: If this helps, please mark this discussion as answered for me! | 
Beta Was this translation helpful? Give feedback.
-
| Thanks for posting in the GitHub Community, @ashishnayak6488! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the  | 
Beta Was this translation helpful? Give feedback.
-
| Hi, GitHub only allows a deleted repository to be restored within 90 days of deletion, and only if it was a private repository owned by a user or organization that still exists. Public repositories and forks cannot be restored once deleted. If you deleted your repo on July 16, 2025, you should see a “Restore” option under: If the option is not available, it usually means one of the following: 
 In that case, the only alternative is to recreate the repository and push your local copy (if you have one) back to GitHub. 🔗 Reference: GitHub Docs – Restoring a deleted repository Hope this helps! | 
Beta Was this translation helpful? Give feedback.
-
| 🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as  2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the  Thank you for helping bring this Discussion to a resolution! 💬 | 
Beta Was this translation helpful? Give feedback.
-
| Here is a step-by-step guide on how to restore a deleted repository, depending on whether it belonged to a personal account or an organization: Important Notes Before Starting Permissions: You must be the repository owner or have the appropriate administrative permissions in the organization to perform a restore. Restoration Caveats: Restoring a repository will not restore release attachments or team permissions. Method 1: Restoring a Repository Owned by a Personal Account Find Repositories: In the left sidebar, click Repositories (or sometimes found under "Code, planning, and automation"). View Deleted Repositories: Under the "Repositories" section, click Deleted repositories. Restore: Locate the repository you wish to restore in the list. Click the Restore button next to the repository name. Read the warning, then click I understand, restore this repository. Method 2: Restoring a Repository Owned by an Organization Go to Organization Settings: In the upper-right corner of GitHub, click your profile picture, then click Your organizations. Click the Settings button next to the organization name. Find Deleted Repositories: In the left sidebar, click Deleted repositories (this may be under the "Access" or "Repository" section, depending on the current GitHub layout). Restore: Find the repository in the list. Click the Restore button next to the repository name. Read the warning, then click I understand, restore this repository. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Type
Product Feedback
Discussion Content
I have deleted my github repo on 16th of july 2025, Now I want to restore this repo, but not getting the restore option for this repo.
So if any body can, guide me to do this.
Beta Was this translation helpful? Give feedback.
All reactions