How can I always block checkin of a specific file in TFS

前端 未结 8 1853
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 04:18

There is one file that I always made changes to, but that I never want to be checked in. I would like TFS to block me from ever checking it in or committing the changes. H

8条回答
  •  情话喂你
    2020-11-28 04:44

    if you are using "Local" workspace type, that is new to TFS 2012 - your source-controlled files are not set "read-only" at all. But in this case no matter where you edit them, they are seen by TFS as changed and included into pending changes. Would be great to have option like "auto-exclude" from pending changes by default. And include them only when you want this.

提交回复
热议问题