Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.29 KB

File metadata and controls

33 lines (23 loc) · 1.29 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 how-to
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 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.

Prerequisites

[!INCLUDE azure-repos-prerequisites]

Delete Git branch

  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.

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

    Screenshot shows delete your branch in the Azure DevOps web portal.