Delen via


How to: Edit a Workspace

Use workspaces to store and synchronize local copies of Team Foundation source control items. Should the need arise, such as changing the working folder, you can edit these workspaces. You can edit a workspace in Visual Studio, or from the command line using the Workspace Command. The following procedure demonstrates how to edit a workspace from your computer in Visual Studio. Prior to editing a workspace, you must first create one. For more information, see How to: Create a Workspace.

Required Permissions

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

To edit a workspace

  1. From the File menu, click Source Control, and then click Workspaces.

  2. In the Manage Workspaces dialog box, under the Name column, highlight the workspace that you want to edit, and click Edit.

  3. In the Edit Workspace dialog box, you can conduct the following tasks as needed:

    1. Edit the name in the Name box.

      Note

      The computer name value is non-mutable. If a computer name changes, run tf workspaces /updatecomputername. Otherwise, workspaces cannot move from one computer to another. For more information, see Workspaces Command.

    2. Enter a comment describing the edits to the workspace in the Comment box.

    3. Edit the working folders. For more information, see How to: Create a Workspace.

    4. Click OK to save the workspace changes.

    Tip

    With the workspace established, you now need to populate your workspace with source from the server. See Get Command for more information on how to do this.

  4. In the Manage Workspaces dialog box, click Close.

See Also

Concepts

Working with Source Control Workspaces