Quick summary
Archiving a GitHub repository makes it permanently read-only, preventing new commits, issues, or pull requests until it is unarchived. You can archive any repository through the Settings page under the Danger Zone section in just a few clicks.
Steps
- Navigate to your desired repository on GitHub.
- Click the Settings tab located near the right side of the page, below the repository name.
- Scroll to the bottom of the Settings page until you reach the Danger Zone section.
- Click Archive this repository in the Danger Zone section.
- Read the warning message from GitHub explaining that archiving makes the repository read-only.
- Type the repository name as confirmation and click I understand, archive this repository to proceed.
- The repository is now archived and read-only — no pushes, issues, pull requests, or updates can be made until it is unarchived.



