Comments - Do you enforce comments with check-ins?
Updated by Brady Stroud [SSW] 1 year ago. See history
You should have good comments... if you are struggling use Excuses For Lazy Coders :)

❌ Figure: Bad Example: No Comments against the check-ins we don’t know what changes were made in each revision

✅ Figure: Good Example: Now we can pin point which revision a particular change has been made
In Visual Studio 2013, to enforce this behaviour, you will need to:

Figure: Go to Team Explorer | Source Control

Figure: Then Check-in Policy | Add

Figure: Then select Changeset Comments Policy and OK

Figure: Now you have the Changeset Comments Policy applied to your Team Project
Now the next time someone checks-in some code, they are forced to enter a comment.
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.