Making a TFS Branch Read-Only

前端 未结 6 1881
傲寒
傲寒 2020-12-16 09:22

We are trying to follow the branching strategy from the TFS Branching Guide and have reached the point where we have made a branch representing a release, which should now b

6条回答
  •  醉梦人生
    2020-12-16 09:54

    As is mentioned above locking is not a very nice strategy. The correct way of handling this is setting permissions.

    You can effectively make files readonly. Users trying to modify the files will get a message 'checkout denied'

    https://msdn.microsoft.com/en-us/library/ms252587.aspx#project_level

    In VS2013: Team Explorer -> Settings -> Security/Version Control

提交回复
热议问题