chicago alm user group visual studio 2013 alm - git source control
DESCRIPTION
Presentation materials from the 6/25/2014 Chicago ALM User Group meeting - Git and Visual Studio Integration. Git, Visual Studio, Team Foundation ServerTRANSCRIPT
Git Source Control
Dave Burnison, Sr. ALM Consultant
Visual Studio 2013 ALM
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
Visit www.incyclesoftware.com
Blog from ALM experts
Free online events
Customer testimonials
ALM Library
Learn Evaluate
ALM offers
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
TFVC - Centralized Version Control One central code repository
Requires a connection to perform most operations
Can pull down just the files you need
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
TFVC - Centralized Version Control
Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/
Git – Distributed Version Control
Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/
Demo
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
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
Key TFS Integration Differences – TFVC vs. GitArea TFVC Git
Team Explorer
Considerations for Deciding between TFVC and Git
Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/
Additional Resources Microsoft Developer Network (MSDN) Use Visual Studio with Git Which version control system should I use: TFVC or Git?
Details on the differences between TFVC and Git
Work from the Git command prompt TFS Internals: How does TFS store Git files
Additional Resources Git’s home on the internet Online reference for all git commands Online book “Pro Git” Tool to learn all about how Git works Try git in your browser, with step-by-step instructions
Tons of tips and tricks for Git users of all experience levels
Pluralsight Git Fundamentals Git for Visual Studio Developers
Thank You!
E-Mail [email protected]
LinkedIn www.LinkedIn.com/in/DaveBurnison/
Blog http://www.incyclesoftware.com/blog/