Unlocking files checked out by someone else
In distributed Teams, developers often have pending changes that overlap shared code files. Don't you hate it when a developer takes a day off with files exclusively checked out to them or when a developer leaves an organization with files still checked out? When a file is exclusively locked, no check-in can be performed on the file until the lock is removed. In this recipe, you'll learn how to unlock files checked out by other users.
Getting ready
To undo the pending changes in another user's workspace, you must have the Administer workspaces permission set to Allow:
How to do it...
Developer A has checked out
$/FabrikamTFVC/Main/Source/FabrikamFiber.CallCenter/FabrikamFiber.Web/Web.config
in the FabrikamTFVC project with a check-in lock type. So while other users can check out theWeb.config
file, no one can check inWeb.config
until developer A has lifted this lock:In the following image,
Web.config
is checked out with the check-in lock. This is...