VOOZH about

URL: https://www.geeksforgeeks.org/devops/microsoft-azure-rename-azure-devops-repo/

⇱ Microsoft Azure-Rename Azure DevOps Repo - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Microsoft Azure-Rename Azure DevOps Repo

Last Updated : 6 Dec, 2025

Azure Repos is a Git-based repository service available in the Azure DevOps portal and hosted by Microsoft Azure. It is fully integrated with other Azure DevOps services, providing a centralized platform to store, manage, and collaborate on source code.

  • Create unlimited private repositories at no cost.
  • Easily connect with build and release pipelines.
  • Collaborate efficiently with reviews and approval workflows.
  • Quickly find code by file name, content, or commit history

Rename Azure DevOps Repo

Follow the steps below to rename an Azure DevOps repository from the Azure DevOps portal.

Step 1: Open the Azure DevOps project that contains the repository which you want to rename.

Step 2: Now click on "Project Settings" from button left on your screen. After you open the Project settings >> navigate to Repos >> select Repositories.

👁 Repositories of azure

Step 3: Now search or select the repo which you want to rename >> click on Rename option from top right on your screen.

👁 Name the Repo

Step 4: Now, modify the name of Azure repository and click on Rename button to procced with renaming or click on Cancel button to discard the changes.

👁 Azure Scripts

Step 5: This the final step. Go to your Azure DevOps project Repos and verify the re-named repository.

👁 Azure Scripts

That's it. These are steps involved for renaming a repo in Azure DevOps. Down below we have mentioned the important points that we you should consider when renaming a repository in Azure DevOps. Do read them and understand.

Best Practices

These are the points that you should consider when renaming a repository in Azure DevOps:

  • You can only rename Azure DevOps repo that you have permission on the Azure DevOps projects with contributor access.
  • The new name must be unique within your project. You cannot use any of the existing azure Azure DevOps repo name.
  • Azure Repo name name must be between 3 and 50 characters long.
  • You will need to update any references to the old repo name, such as in build pipelines or CI/CD configurations.
  • Renaming a Azure DevOps repo does not affect any of the code or data in existing Azure Repo.
Comment