Do you know which check-in policies to enable?
Updated by Brady Stroud [SSW] 1 year ago. See history
123
<introEmbed
body={<>
Check-in policies are a great way to enforce code quality before it hits your source control repository. SSW recommends that the following check-in policies be enabled by default on your project:
1. Changeset Comments Policy - To enforce that all check-in contain comments
2. SSW Code Auditor - To enforce coding standards and best practices before check-in
3. Work Items – To ensure check-ins are linked to a Work Item in TFS
</>}
/>
To enable these policies:
- Click Settings in the Team Explorer Home hub
- Click Source Control in the Team Project section (not Team Project Collection)
- Open the Check-in Policy tab
- Click Add... and select the check-in policies above. If you don’t have SSW Code Auditor installed, download it here.add

Figure: Choose check-in policies in TFS
Related rules
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.