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
![Page 1: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/4.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/9.jpg)
Demo
![Page 10: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/12.jpg)
Key TFS Integration Differences – TFVC vs. GitArea TFVC Git
Team Explorer
![Page 13: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/13.jpg)
Considerations for Deciding between TFVC and Git
Source: ALM Rangers Version Control Guidehttp://vsarbranchingguide.codeplex.com/
![Page 14: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/14.jpg)
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
![Page 15: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/15.jpg)
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
![Page 16: Chicago alm user group visual studio 2013 alm - git source control](https://reader034.vdocuments.site/reader034/viewer/2022052619/555a27a8d8b42ab3088b4b50/html5/thumbnails/16.jpg)
Thank You!
E-Mail [email protected]
LinkedIn www.LinkedIn.com/in/DaveBurnison/
Blog http://www.incyclesoftware.com/blog/