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:

  1. Click Settings in the Team Explorer Home hub
  2. Click Source Control in the Team Project section (not Team Project Collection)
  3. Open the Check-in Policy tab
  4. Click Add... and select the check-in policies above. If you don’t have SSW Code Auditor installed, download it here.add
Image

Figure: Choose check-in policies in TFS

Acknowledgements

Damian Brady
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star