title | titleSuffix | description | ms.assetid | ms.service | ms.topic | ms.date | monikerRange | ms.subservice |
---|---|---|---|---|---|---|---|---|
Delete a branch in your Git repo |
Azure Repos |
Use the branches page to delete a Git branch in Azure DevOps Services or Team Foundation Server |
c033e522-5729-49b6-a27c-f13c9f0e57ba |
azure-devops-repos |
conceptual |
10/11/2018 |
<= azure-devops |
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.