Archive a repository

A Data Center license is required to use this feature. Get an evaluation license to try it out, or purchase a license now.

If you’d rather not delete a repository, you can archive it instead. This helps to declutter the list of repositories and ensure more accurate code search results. Archiving a repository makes it read-only and excludes it from searches and comparison. It also means that you cannot:

  • create pull requests
  • create branches
  • add comments
  • change repository details
  • move
  • You can still fork and clone an archived repository.
  • Archiving a repository doesn’t reduce the disk space.

A repo list that includes archived repos


You can archive one repository or multiple repositories at once.

To archive a single repository:

  1. Select a repository from the list.
  2. Select ••• > Archive.
  3. To confirm, select Archive.

To archive more than one repository:

  1. Select all or individual checkboxes next to each repository.
  2. Select Archive.
  3. To confirm, select Archive.

Unarchive a repository

If you have permission to a repository, you are able to unarchive it.

To unarchive a single repository:

  1. From the repository’s settings page, select Repository details.
  2. Select Manage repository > Unarchive.

To unarchive multiple repositories:

  1. From the Repositories page, select all or individual checkboxes next to each repository.
  2. Select Unarchive.
Last modified on Aug 18, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.