> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/code-repository/3.0/use-harness-code/manage-repositories/archive-repo.md).

# Archive Repositories

{% hint style="warning" %}
Archiving a repository will make it read-only and prevent any further changes to its content.
{% endhint %}

To archive a repository in Harness Code:

1. Select the repository you want to archive.
2. Go to **Settings** and select \**Archive*.
3. Follow the prompts to confirm archiving.
