2016-06-07 48 views
0

我们制定了TFS分支政策,要求审核承诺回购的文件。目前这涵盖了整个存储库。在TFS分支策略中是否可以免除子文件夹的审阅要求?

我想将子文件夹添加到免除审阅过程的回购。这样一切文件签入此子文件夹需要审查。

所以目前我们分行的政策是这样的:Review Policy

我想“文档”文件夹是从审查豁免。 据我所知,我可以在文件夹上强制进行评论,但是我希望我可以避免为除文档之外的每个文件夹设置策略。

这可能吗?

回答

0

没有这样的选项。在本网站上查询Q & A: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