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

Unshelving a shelveset created in one branch to another branch


When using TFVC, you'll find shelvesets very useful. Shelvesets allow you to effectively back up your local copy of the changes on to the server. Developers are multitasking almost all the time; you may start coding a change in one branch and then realize that the change actually needs to be applied in another branch. In this recipe, you'll learn how to shelve changes in one code branch and then migrate the changes over to another branch without checking in the changes into source control.

Getting ready

The FabrikamTFVC project has three branches, Dev, Main, and Prod, as illustrated in the following diagram. In this recipe, we'll create a shelveset shelvesetDev1 from the pending changes in the Dev branch and unshelve the pending changes over to the Prod branch without checking in the pending changes:

This recipe requires the use of the tfpt command-line utility. This utility is installed with TFS Power Tools. If you don't have TFS...