How to Archive Inactive Repositories on GitHub: Step-by-Step Guide

Archiving inactive repositories on GitHub is a great way to keep your workspace organized while preserving past projects.

It allows you to mark a repository as read-only, ensuring it’s not deleted but no longer actively modified.

In this step-by-step guide, let's walk you through how to archive a repository with a hands-on demo.

How to Archive Inactive Repositories on GitHub

Steps to follow:

1. Navigate to the GitHub repository you want to archive.

2. Click on the 'Settings' tab in the repository menu.

3. Scroll down to the 'Danger Zone' section and click the 'Archive this repository' button.

4. Enter the required information and click 'I understand the consequences, archive this repository' to confirm.

5. Once archived, a banner will appear at the top of the repository, indicating it is now read-only.

That's it!

You’ve successfully archived an inactive repository.

Conclusion

By archiving your inactive repositories, you maintain a clean and organized workspace while keeping your past projects accessible for reference.

Now that you know how to do it, you can confidently manage inactive repositories without cluttering your active projects.

Still have questions?

Send an email to archana@leadwalnut.com, OR

Book a FREE consultation with an expert developer here.