👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.19

Archiving and unarchiving repositories

As a site admin you can archive or unarchive a repository in the Site admin dashboard.

In this article

Archiving a repository

  1. In the upper-right corner of any page, click .
    Rocketship icon for accessing site admin settings
  2. In the search field, type the name of the repository and click Search.
    Site admin settings search field
  3. In the search results, click the name of the repository.
    Site admin settings search options
  4. In the upper-right corner of the page, click Admin.
    Admin Tools
  5. In the left sidebar, click Admin.
    Admin Tools
  6. Under Danger Zone, click Archive.
    Archive button
  7. Click Archive repository
    Archive repository button

Unarchiving a repository

  1. In the upper-right corner of any page, click .
    Rocketship icon for accessing site admin settings
  2. In the search field, type the name of the repository and click Search.
    Site admin settings search field
  3. In the search results, click the name of the repository.
    Site admin settings search options
  4. In the upper-right corner of the page, click Admin.
    Admin Tools
  5. In the left sidebar, click Admin.
    Admin Tools
  6. Under Danger Zone, click Unarchive.
    Archive button
  7. Click Unarchive repository
    Archive repository button

Further reading

Ask a human

Can't find what you're looking for?

Contact us