What do you do if the file in TFS is locked by someone else?

后端 未结 11 865
梦如初夏
梦如初夏 2020-12-23 13:35

Someone left the organisation but before leaving, he locked all the files for an unknown reason.

How do you unlock them all so that the other developers can work?

11条回答
  •  [愿得一人]
    2020-12-23 14:02

    If the developer has left the organization, then the best thing to do is to delete their workspaces. This will unlock the files for you but also free up some resources on the server.

    See the following blog post I did on the topic when it happened to me a few years ago.

    http://www.woodwardweb.com/vsts/unlocking_files.html

    You can either delete the workspace using the command line (tf.exe) or you can use the excellent TFS Sidekicks from Attrice.

提交回复
热议问题