Sdílet prostřednictvím


Enable and Disable Check-In Policies

Administrators of Team Foundation version control can add check-in policy requirements. These check-in policies require the user to take actions when they conduct a check-in to source control; for example a user can be required to associate a work item with a changeset. For more information, see Add Check-In Policies. Prior to enabling or disabling check-in policies, you must first create a check-in policy. For more information, see Add Check-In Policies. The following procedures demonstrate how to enable or disable check-in policies for your team project.

Required Permissions

To complete this procedure, you must have the Edit project-level information permission set to Allow. For more information, see Team Foundation Server Permissions.

Procedure

To enable a check-in policy

  1. On the Team menu, click Team Project Settings, and then click Source Control.

  2. In the Source Control Settings dialog box, click the Check-in Policy tab.

  3. In the policy type list, select the policy type you want to enable, and click Enable.

  4. Click OK.

To disable a check-in policy

  1. On the Team menu, click Team Project Settings, and then click Source Control.

  2. In the Source Control Settings dialog box, click the Check-in Policy tab.

  3. In the policy type list, select the policy type you want to delete, and click Disable.

  4. Click OK.

See Also

Concepts

Set and Enforce Quality Gates

Working with Changesets

Other Resources

Walkthrough: Customizing Check-in Policies and Notes