Κοινή χρήση μέσω


Delete a Git branch from the web portal

Azure DevOps Server 2019

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

Category Requirements
Project access Member of a project.
Permissions - View code: At least Basic access.
- Clone or contribute to code: Member of the Contributors security group or corresponding permissions in the project.
Services Repos enabled.

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.