是否可以让子文件夹免于TFS分支机构政策中的审核要求?

时间:2016-06-07 14:12:43

标签: tfs

我们制定了TFS分支政策,要求审核提交给Repo的文件。目前,这涵盖整个存储库。

我想在免费审核流程的repo中添加一个子文件夹。因此,检查此子文件夹的文件之外的所有内容都需要进行审核。

所以目前我们的分支政策如下:Review Policy

我希望“文档”文件夹免于审核。 我知道我可以强制对文件夹进行评论,但是我希望我可以避免为除文档文件夹之外的每个文件夹设置策略。

这可能吗?

1 个答案:

答案 0 :(得分:0)

没有这样的选择。在此网站上查看问答:https://www.visualstudio.com/en-us/docs/git/branch-policies#how_works

问:配置所需的代码审核者时支持哪种通配符?

支持单个星号(*),并且将匹配任意数量的字符,包括正斜杠(/)和反斜杠()。问号(?)将匹配任何单个字符。

示例:

*.sql will match all files with the .sql extension
/ConsoleApplication/* will match all files under the folder named ConsoleApplication
/.gitattributes will match the .gitattributes file in the root of the repo
*/.gitignore will match any .gitignore file in the repo
相关问题