Book Image

Microsoft Team Foundation Server 2015 Cookbook

By : Tarun Arora
Book Image

Microsoft Team Foundation Server 2015 Cookbook

By: Tarun Arora

Overview of this book

Team Foundation Server (TFS) allows you to manage code repositories, build processes, test infrastructure, and deploy labs. TFS supports your team, enabling you to connect, collaborate, and deliver on time. Microsoft's approach to Application Lifecycle Management (ALM) provides a flexible and agile environment that adapts to the needs of your team, removes barriers between roles, and streamlines processes. The book introduces you to creating and setting up team projects for scrum teams. You'll explore various source control repositories, branching, and merging activities, along with a demonstration of how to embed quality into every code check-in. Then, you'll discover agile project planning and management tools. Later, emphasis is given to the testing and release management features of TFS which facilitate the automation of the release pipeline in order to create potentially shippable increments. By the end of the book, you'll have learned to extend and customize TFS plugins to incorporate them into other platforms and enable teams to manage the software lifecycle effectively.
Table of Contents (16 chapters)
Microsoft Team Foundation Server 2015 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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...

  1. 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 the Web.config file, no one can check in Web.config until developer A has lifted this lock:

    In the following image, Web.config is checked out with the check-in lock. This is...