Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.22 KB

File metadata and controls

27 lines (20 loc) · 1.22 KB
title Delete a branch in your Git repo
titleSuffix Azure Repos
description Use the branches page to delete a Git branch in Azure DevOps Services or Team Foundation Server
ms.assetid c033e522-5729-49b6-a27c-f13c9f0e57ba
ms.service azure-devops-repos
ms.topic conceptual
ms.date 10/11/2018
monikerRange <= azure-devops
ms.subservice azure-devops-repos-git

Delete a Git branch from the web portal

[!INCLUDE version-lt-eq-azure-devops]

Important

This topic covers deleting a Git branch via the web in Azure DevOps Services and TFS. If you need to delete a Git branch in your own repo from Visual Studio or the command line, follow these steps in the Azure Repos Git tutorial.

  1. Open your repo on the web and select the Branches view.

  2. Locate your branch on the branches page. If you don't see it, select All to view all branches and filter the branches using the Search all branches box in the upper right.

  3. Select the trashcan icon next to the branch you want to delete.

    Delete your branch in the Azure DevOps Services/TFS web portal