How to Archive Github Repository
Archiving a repository on GitHub is useful when a project is no longer actively maintained but you want to preserve it in a read-only state. Here's how to archive a repository:
- 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.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it