Поделиться через


Configure Command

Enables an administrator to view and change the following configuration settings for a team project in the Source Control Settings dialog box:

  • Check-out settings

  • Check-in policies

  • Check-in notes

tf configure [path of team project] /server:servername

Parameters

Argument Description

path of team project

Optional. Path of the team project.

servername

The user-provided value for the /server option. Example: teamserver2.

Option Description

/server

Identifies the Team Foundation Server. This option is required if the command is invoked from a directory that is not mapped to a workspace.

Remarks

You can manage the following team project settings using the configure command:

  • Check-out settings can be used to determine whether multiple users can edit files at the same time.

  • Check-in policies provide controls that are invoked at check-in time, to make sure that defined criteria are met before a user checks in pending changes.

  • Check-in notes define custom fields into which users provide information during the check-in process. Check-in notes can be either required or optional.

For more information about these settings, see Walkthrough: Customizing Check-in Policies and Notes.

For links to other Team Foundation commands that provide additional information about the items in your Team Foundation source control server and all the workspaces that map to it, see Informational Commands.

Examples

The following example displays the Source Control Settings dialog box in which you can examine and modify the team project settings for the current Team Foundation server.

c:\projects>tf configure

The following example displays the myproj team project settings on teamserver2.

c:\projects>tf configure $/myproj /server:teamserver2

Security

To use the configure command, you must have the Edit server-level information permission set to Allow. For more information, see Team Foundation Server Permissions.

See Also

Tasks

Walkthrough: Working with Team Foundation Source Control from Command Line
Walkthrough: Creating a New Team Project

Concepts

File Types

Other Resources

Tf Command-Line Utility Commands
Configuring Source Control Settings