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

前端 未结 8 1854
隐瞒了意图╮
隐瞒了意图╮ 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:38

    You can just exclude the file from Source Control

    1. Select the file in Solution Explorer

    2. Go to File -> Source Control -> Advanced

    Path To Exclude

    and here it is

    Here is the Exclude

提交回复
热议问题