Team Foundation Service强制性对签入的评论 [英] Team Foundation Service Mandatory Comments on check in

查看:54
本文介绍了Team Foundation Service强制性对签入的评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft的新Team Foundation服务, http://tfs.visualstudio.com/

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.

推荐答案

在Visual Studio(2012)中.

In Visual Studio (2012).

  • 打开团队资源管理器".
  • 选择团队项目".
  • 点击设置".
  • 在团队项目"标题下,单击源代码管理".
  • 选择入住政策"标签.
  • 点击添加..."
  • 选择更改集注释策略".

在Visual Studio 2010中,您将必须在所有客户端计算机上安装 Team Foundation Power Toys -没有安装的计算机能够签入代码.

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.

这篇关于Team Foundation Service强制性对签入的评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆