How to restore a deleted Git Branch in Azure DevOps?

The 5 Components of Azure DevOps - ParkMyCloud

A branch in Azure DevOps is an isolated version of the code that can be used to work offline without impacting the other developers code in your team. Generally, we create a branch for developing a new feature or for fixing a bug/ defect.

I have created a Git Branch in Azure DevOps “ArunPotti_Test_Branch” and accidentally that branch got deleted by someone.

So, followed the below steps to recover the deleted branch.

Step 1: Browse Azure DevOps.

Step 2: Click on your project and Click on Branches under Repos.

Step 3: Provide your deleted branch name in the Search Textbox and click on Enter.

Note: Make sure to give your Branch Name in correct casing. Incorrect casing will not give the required result.

You can see the below result under Deleted branches.

Step 4: Click on the three Vertical dots and Click on the Restore branch.

Your deleted Branch will be restored.

Hope you have successfully restored your deleted branch in Azure DevOps.

Please like and share your valuable feedback on this article.


Discover more from Arun Potti's Power Platform blog

Subscribe to get the latest posts to your email.

2 thoughts on “How to restore a deleted Git Branch in Azure DevOps?

Leave a Reply to Top Stories from the Microsoft DevOps Community – 2021.12.03 - Azure DevOps BlogCancel reply