Chicago alm user group visual studio 2013 alm - git source control

16
Git Source Control Dave Burnison, Sr. ALM Consultant Visual Studio 2013 ALM

description

Presentation materials from the 6/25/2014 Chicago ALM User Group meeting - Git and Visual Studio Integration. Git, Visual Studio, Team Foundation Server

Transcript of Chicago alm user group visual studio 2013 alm - git source control

Page 1: Chicago alm user group   visual studio 2013 alm - git source control

Git Source Control

Dave Burnison, Sr. ALM Consultant

Visual Studio 2013 ALM

Page 2: Chicago alm user group   visual studio 2013 alm - git source control

We help organizations go to the next level

ALM visionaries since 2002

Visual Studio ALM & TFS Services

Managed Testing Services

Agile Adoption

Visual Studio Extensibility

Services

VSIP Partner since 2010

Gold ALM Partnersince 2005

Leaders

San Francisco

Quebec City

New York

Seattle Montre

alChicago

Locations

ALM Rangers and ALM consultants in six locations

Page 3: Chicago alm user group   visual studio 2013 alm - git source control

Visit www.incyclesoftware.com

Blog from ALM experts

Free online events

Customer testimonials

ALM Library

Learn Evaluate

ALM offers

Page 4: Chicago alm user group   visual studio 2013 alm - git source control

AgendaCentralized vs. Distributed Version Control

Key Differences between TFVC and Git

Demo

Key TFS Integration Differences – TFVC vs. Git

Considerations for Deciding between TFVC and Git

Wrap up

Page 5: Chicago alm user group   visual studio 2013 alm - git source control

TFVC - Centralized Version Control One central code repository

Requires a connection to perform most operations

Can pull down just the files you need

Page 6: Chicago alm user group   visual studio 2013 alm - git source control

Git – Distributed Version Control

No central code repository “master” repository is defined by convention

Does not require a connection to perform most operations

Can only pull down an entire repository

Page 7: Chicago alm user group   visual studio 2013 alm - git source control

TFVC - Centralized Version Control

Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/

Page 8: Chicago alm user group   visual studio 2013 alm - git source control

Git – Distributed Version Control

Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/

Page 9: Chicago alm user group   visual studio 2013 alm - git source control

Demo

Page 10: Chicago alm user group   visual studio 2013 alm - git source control

Key TFS Integration Differences – TFVC vs. GitArea TFVC Git

Team Project Mapping

Single repository but you can map sub folders to your workspaceYou can perform a Get Latest from any sub folder

Multiple repositories but you must get the entire repository

Viewing Source Code

Source Control Explorer in Visual Studio

Windows File Explorer

File History Not replicated to the client machine Replicated to the client machine

Updating history You can change the comments of a previous changeset, but you cannot change a changeset’s contents

You can amend the latest local commit

Page 11: Chicago alm user group   visual studio 2013 alm - git source control

Key TFS Integration Differences – TFVC vs. GitArea TFVC Git

Work Suspension Supported by Shelvesets and Suspend/Resume

Create a local branch or stash (from the command line)

Security Many different permissions can be set on any branch, folder or file

Limited number of permissions, the most granular permissions you can apply are to a repository or a branch

Code Reviews Code Review work flow built in Pull Requests are new to VSO, not yet available for on premises TFS

Check-in Policies Extendible model for check-in policies

No support for check-in policies

Build Differences Supports Gated Check-ins Does not yet support Gated Check-ins

Page 12: Chicago alm user group   visual studio 2013 alm - git source control

Key TFS Integration Differences – TFVC vs. GitArea TFVC Git

Team Explorer

Page 13: Chicago alm user group   visual studio 2013 alm - git source control

Considerations for Deciding between TFVC and Git

Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/

Page 16: Chicago alm user group   visual studio 2013 alm - git source control

Thank You!

E-Mail [email protected]

LinkedIn www.LinkedIn.com/in/DaveBurnison/

Blog http://www.incyclesoftware.com/blog/