Common Check-in policies on TFVC / Azure DevOps.
Contents
Require associated work items on Check-in
To require associated work items on each check-in,
-
On Visual Studio, open Team Explorer.
-
Go to Project > Settings > Source Control.
-
Go to the Check-in Policy tab and click Add.
-
Select Work Items.
-
Click Ok.
-
Users will see a list of Policy warnings on Pending changes.
-
Upon clicking Check In, they will receive the following error message:
Require comments on Check-in
To require comments on each check-in,
-
On Visual Studio, open Team Explorer.
-
Go to Project > Settings > Source Control.
-
Go to the Check-in Policy tab and click Add.
-
Select Changeset Comments Policy
-
Click Ok.
-
Users will see a list of Policy warnings on Pending changes.
-
Upon clicking Check In, they will receive the following error message: