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.

Advertisement

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.