Share via


How to: Remove Labels

In Team Foundation version control, a label is a name applied to a specific set of revisions, which are also known as a snapshot build. For more information, see How to: Apply Labels. Team Foundation version control includes functionality to remove these labels as described in the following procedures.

Required Permissions

To perform these procedures, you must own the label or have the Administer labels permission set to Allow. For more information, see Team Foundation Server Permissions.

To remove labels

  1. Locate the label that you wish to remove. For more information, see How to: Find Labels.

  2. Select the label that you want to remove and click Delete.

    The Delete Label confirmation dialog box is displayed.

  3. Click OK.

  4. Click Close.

To remove labels from command line

  1. Click Start, click All Programs, click Microsoft Visual Studio 2008, click Visual Studio Tools, and then click Visual Studio 2008 Command Prompt.

  2. Type cd path, where path is the directory containing the applicable workspace.

  3. Type tf label /deletelabel name, where label name is the name of the label that you want to delete.

    Note

    For the full syntax of the label command, see Label Command (Team Foundation Version Control).

See Also

Concepts

Working with Labels

Working with Version Control Changesets

Reference

Label Command (Team Foundation Version Control)