Article version:

Archiving repositories

You can archive a repository to make it read-only for all users and indicate that it's no longer actively maintained. You can also unarchive repositories that have been archived.

We recommend that you close all issues and pull requests, as well as update the README file and description, before you archive a repository.

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings.
    Repository settings button
  3. Under "Danger Zone", click Archive this repository or Unarchive this repository.
    Archive this repository button
  4. Read the warnings.
  5. Type the name of the repository you want to archive or unarchive.
    Archive repository warnings
  6. Click I understand the consequences, archive this repository.

Further reading

Ask a human

Can't find what you're looking for?

Contact us