How to unlock a file from someone else in Team Foundation Server

后端 未结 12 934
臣服心动
臣服心动 2020-12-01 01:01

We have a project that is stored within our TFS server and some files were Checked-Out by me from another computer and another user (both of which are not used anymore). Is

12条回答
  •  感动是毒
    2020-12-01 01:33

    Team Foundation Sidekicks has a Status sidekick that allows you to query for checked out work items. Once a work item is selected, click the "Undo lock" buttons on the toolbar.

    Rights

    Keep in mind that you will need the appropriate rights. The permissions are called "Undo other users' changes" and "Unlock other users' changes". These permissions can be viewed by:

    1. Right-clicking the desired project, folder, or file in Source Control Explorer
    2. Select Properties
    3. Select the Security tab
    4. Select the appropriate user or group in the Users and Groups section at the top
    5. View the "Permissions for [user/group]:" section at the bottom

    Screenshot of unlocking a file using Team Foundation Sidekicks

    Disclaimer: this answer is an edited repost of Brett Roger's answer to a similar question.

提交回复
热议问题