Forbidden Patterns Check-In Policy in TFS 2010

前端 未结 2 786
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-05 14:39

I\'ve been trying to use the Forbidden Patterns part of the TFS 2010 Power Tools and I\'m just not understanding something - I simply cannot get anything to change as I try

2条回答
  •  花落未央
    2021-01-05 15:10

    Here's a set of expressions we use that work. We have the December 2011 Team Foundation Power Tools installed, which is where the Forbidden Patterns Policy feature comes from, not from a base TFS 2010 install.

    .*/[Bb]in/.*

    .*/[Pp]ackages/.*

    .*/[Oo]bj/.*

    .*/_[Rr]eshar[Pp]er./.*

    \.((?i)suo$)

    \.((?i)user$)

    thumbs\.db

    I also found another site that has a good write-up with example patterns.

提交回复
热议问题