简体   繁体   中英

How to lock files from Team Foundation Server?

I want to find lock files and lock-unlock these files from Team Foundation Server. How can I do that?

If you Check out a file by right clicking on it in Source Control Explorer and selecting Check Out For Edit, you should get three options under Lock Type:

  • Unchanged: This allows other users to modify the file and save the changes back to TFS before you have finished with it.
  • Check Out: This completely locks the file so that no one else can modify it.
  • Check In: This allows other people to modify the file, but prevents them from saving the changes back to TFS until you have finished with the file.

Go to Source Control Explorer, right-click the branch you want to check, find in source control, and then choose status. There you have the option to find checked-out files.

You can use Status Sidekicks tool from TFS Sidekicks toolset to find out all the files which has been locked out. You can unlock them using same tool.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM