Chapter 2. Setting Up and Managing Code Repositories

 

"Quality is never an accident; it is always the result of intelligent effort".

 
 --John Ruskin

In this chapter, we will cover:

  • Creating a Git repository in an existing TFVC Team Project
  • Enabling code analysis check-in policy
  • Performing a baseless merge between sibling branches in TFVC
  • Reparenting a branch in TFVC
  • Unlocking files checked out by someone else
  • Unshelving a shelveset created in one branch to another branch
  • Ignoring file types from check-in using .tfignore and .gitignore
  • Conducting code reviews in TFS
  • Setting up policies for branches in Git
  • Conducting Pull requests in TFS
  • Analyzing code churn with TFS analysis services cube

Introduction

Code repositories enable developers to write code more confidently. ...

Get Microsoft Team Foundation Server 2015 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.