Hide repositories from menu on a project on Azure DevOps

Viewed 3653

I want to hide two repositories (App 1 and 2 below) from the menu on a project on Azure DevOps.

Select a project -> Repos -> below

enter image description here

The reason is that App 1 and 2 have code, but are not being used at the moment. So we will show them in the future. Thus, we want the ability to show/hide them.

Any idea?

2 Answers

I found out that you can disable the repository. This will keep listing your disabled repositories but no one can access them. Instead, the repository page just warns about its disabled status (see the picture below).

See this article that brings more detail and is the source of the images below.

Example: displaying a disabled repository

Example of how to disable a repository in Azure DevOps

Related