Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team Foundation Service Mandatory Comments on check in

I'm using Microsoft's new Team Foundation Service, http://tfs.visualstudio.com/

I wanted to know whether it was possible to make comments mandatory on check-in, e.g. if I check-in a change without a comment an error will be thrown and my commit rejected.

like image 976
Mackolicious Avatar asked Dec 20 '12 21:12

Mackolicious


1 Answers

In Visual Studio (2012).

  • Open "Team Explorer".
  • Select your "Team Project".
  • Click "Settings".
  • Under the "Team Project" heading click "Source Control".
  • Select the "Check-in Policy" Tab.
  • Click "Add..."
  • Select "Changeset Comments Policy".

Changeset Comment Policy

In Visual Studio 2010, you will have to install the Team Foundation Power Toys on all client machines - those without it installed will not be able to check in code.

like image 100
DaveShaw Avatar answered Oct 22 '22 00:10

DaveShaw