DevOps | Scripts | Automation

Azure DevOps

How to delete/rename the Imported repository in Azure DevOps?

In the previous article, we have seen how we can import the repository in Azure DevOps. In this article, we will see how we can delete or rename the imported repository.

Before we delete or rename the imported repository, we need to ensure that we have the proper rights to delete the repo. The person who will delete the imported repository should have at least Project Admin rights.

https://docs.microsoft.com/en-us/azure/devops/repos/git/set-git-repository-permissions?view=azure-devops#default-repository-permissions

Follow the below steps to delete the Azure Imported repository.

  1. Click on Repos -> Files and click on the dropdown to see the list of repositories in your project. Click on Manage Repositories.
Manage Repositories

In the list of repositories, hover the mouse right side and you will see three vertical dots. Click on it and Delete the repository. There is also an option to rename the repository.

Delete / Rename Repository

Once you click Delete, you just need to type the name of the repository and delete.

Delete Confirmation

Loading