Enable and disable check-in policies
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Visual Studio 2019 | Visual Studio 2022
Team Foundation Version Control (TFVC) administrators 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, users can be required to associate work items with changesets.
Prior to enabling or disabling check-in policies, you must first create the check-in policies. For more information, see Add check-in policies. The following procedure describes 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 or disable a check-in policy
On the Visual Studio Team menu, select Team Project Settings > Source Control.
Or, in the Visual Studio Team Explorer window, select Settings, and then select Source Control under Team Project.
In the Source Control Settings dialog box, select the Check-in Policy tab.
In the Policy Type list, select the policy type you want to enable or disable, and then select Enable or Disable.
Select OK.
Related articles
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho