How to Archive Github Repository
- George Apostolov
How to Archive Github Repository: step-by-step guide
Navigate to your desired repository.
Click on the 'Settings' tab. You’ll find it near the right side of the page, below the repository’s name.
Scroll to the bottom of the settings page until you reach the 'Danger Zone' section.
Click on 'Archive this repository'.
GitHub will prompt you with a warning message explaining that archiving the repository makes it read-only.
Type the repository name as confirmation when prompted and click 'I understand, archive this repository'.
Once archived, the repository becomes read-only. You cannot push changes, create issues, pull requests, or update the repository until it is unarchived.
Quick answer: To archive a GitHub repository, navigate to the desired repository, open the Settings tab, scroll to the Danger Zone, and click Archive this repository. Next, review the warning, type the repository name to confirm, and select I understand, archive this repository to make the repository read-only.
About this GitHub tutorial
Make your GitHub repository read-only by navigating to settings, accessing the danger zone, and confirming the archive action. This guide shows how to archive Github Repository in 7 steps, starting with "Navigate to your desired repository" and finishing with "Once archived, the repository becomes read-only. You cannot push changes, create issues...". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to archive Github Repository?
7 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Automate Discord Notifications from GitHub Commits with Zapier, How to Cancel GitHub Copilot and How to Change Default Branch in Github. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





