VSTS | TFS 2018 | TFS 2017 | TFS 2015 | VS 2017 | VS 2015 | VS 2013
Enables an administrator to view and change the following configuration settings for a team project in the Source Control Settings dialog box:
To use the configure command, you must have the Edit server-level information permission set to Allow. For more information, see Permissions and groups reference.
tf configure [PathOfTeamProject] [/collection:TeamProjectCollectionUrl][/login:username,[password]]
|PathOfTeamProject||Path of the team project whose configuration settings an administrator can view, change, or both.|
|TeamProjectCollectionUrl||The URL of the team project collection that contains the team project that you specified (for example, http://myserver:8080/tfs/DefaultCollection).|
|username||Provides a value to the /login option. You can specify a username value as either DOMAIN\UserName or UserName.|
|/collection||Specifies the team project collection.|
|/login||Specifies the user name and password to authenticate the user with Team Foundation Server.|
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. Also, they can be used to configure the get latest on check-out behavior.
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.
The settings are configured in the Source Control Settings dialog box which appears after you run the configure command. When you complete your changes, click OK to save them to the server.
For more information about these settings, see Walkthrough: Customizing Checkin Policies and Notes.
For links to other Team Foundation commands that provide additional information about the items in your Team Foundation version control server and all the workspaces that map to it, see Informational Commands.
For more information on how to find the tf command-line utility, see Tf Command-Line Utility Commands.
The following example displays the Source Control Settings dialog box in which you can examine and modify the team project settings of the workspace for the c:\projects folder.
The following example displays the myproj team project settings in the team project collection at http://myserver:8080/tfs/DefaultCollection.
c:\projects>tf configure $/myproj / http://myserver:8080/tfs/DefaultCollection