Κοινή χρήση μέσω


Enable and disable check-in policies

TFS 2017 | TFS 2015 | TFS 2013

Visual Studio 2019 | Visual Studio 2017 | Visual Studio 2015 | Visual Studio 2013

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 project.

Prerequisites

To complete this procedure, you must have the Edit project-level information permission set to Allow. For more information, see Default TFVC permissions.

Enable a check-in policy

  1. On the Team menu, click 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.

Disable a check-in policy

  1. On the Team menu, click 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.