Archive repository in Azure DevOps

Sometimes it it becomes necessary to archive the repositories as too many repositories might lead to confusion and in addition it also makes the project cluttersome. Azure DevOps provides a feature called “Disable repository” which can be used to archive a repository with no builds, pull requests and commits as listed below

Step 1: Go to Project Settings and then click on “Repositories”

Step 2: Click on the Repository which needs to be archived

Step 3: Click on Settings and then turn on the option “Disable Repository”

Step 4: Once the repository is disabled, if anyone tries accessing the repository they would get an error message stating that the repository has been disabled as shown below.

Incase if the repository needs to be enabled again for commits, builds or branches they need to contact the Project Administrator or Project Collection Administrator who can reenable the repository

You may also like...