| 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 | how-to |
| ms.date | 10/11/2018 |
| monikerRange | <= azure-devops |
| ms.subservice | azure-devops-repos-git |
[!INCLUDE version-lt-eq-azure-devops]
Important
This article covers deleting a Git branch via the web in Azure DevOps. 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.
[!INCLUDE azure-repos-prerequisites]
-
Open your repo on the web and select the Branches view.
-
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.
-
Select the trashcan icon next to the branch you want to delete.
