SlideShare uma empresa Scribd logo
1 de 16
Git Source Control
Dave Burnison, Sr. ALM Consultant
Visual Studio 2013 ALM
We help organizations go to the next
level
ALM Rangers and ALM
consultants in six locations
Visit www.incyclesoftware.com
Agenda
Centralized 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 Guide
http://vsarbranchingguide.codeplex.com/
Git – Distributed Version Control
Source: ALM Rangers Version Control Guide
http://vsarbranchingguide.codeplex.com/
Demo
Key TFS Integration Differences – TFVC vs. Git
Area TFVC Git
Team Project Mapping Single repository but you can map sub
folders to your workspace
You 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. Git
Area 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. Git
Area TFVC Git
Team Explorer
Considerations for Deciding between TFVC and Git
Source: ALM Rangers Version Control Guide
http://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
 Dave.Burnison@InCycleSoftware.com
• LinkedIn
 www.LinkedIn.com/in/DaveBurnison/
• Blog
 http://www.incyclesoftware.com/blog/

Mais conteúdo relacionado

Último

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Último (20)

The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

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

  • 1. Git Source Control Dave Burnison, Sr. ALM Consultant Visual Studio 2013 ALM
  • 2. We help organizations go to the next level ALM Rangers and ALM consultants in six locations
  • 4. Agenda Centralized 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
  • 5. TFVC - Centralized Version Control  One central code repository  Requires a connection to perform most operations  Can pull down just the files you need
  • 6. 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
  • 7. TFVC - Centralized Version Control Source: ALM Rangers Version Control Guide http://vsarbranchingguide.codeplex.com/
  • 8. Git – Distributed Version Control Source: ALM Rangers Version Control Guide http://vsarbranchingguide.codeplex.com/
  • 10. Key TFS Integration Differences – TFVC vs. Git Area TFVC Git Team Project Mapping Single repository but you can map sub folders to your workspace You 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
  • 11. Key TFS Integration Differences – TFVC vs. Git Area 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
  • 12. Key TFS Integration Differences – TFVC vs. Git Area TFVC Git Team Explorer
  • 13. Considerations for Deciding between TFVC and Git Source: ALM Rangers Version Control Guide http://vsarbranchingguide.codeplex.com/
  • 14. 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
  • 15. 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
  • 16. Thank You! • E-Mail  Dave.Burnison@InCycleSoftware.com • LinkedIn  www.LinkedIn.com/in/DaveBurnison/ • Blog  http://www.incyclesoftware.com/blog/

Notas do Editor

  1. InCycle has been helping organization improving their ALM practices since 2002. We offer services and solutions around Microsoft ALM toolset and are an ALM gold partner with 6 locations in NA with dedicated consultants (3 being MVP). We, (I) ‘ve been involved with MS ALM solution since the beginning (VSTS 2005). (Click)
  2. In centralized VC, there’s a central server that contains all of the source code and metadata. This is the One True Version of the code; all source control actions occur against this central repository. Of course, doing this requires a network connection to the server. The upside here is that you don’t need to pull down the entire set of files in order to make a change; you can get just what you need, on an on-demand basis TFS source control and Subversion are examples of CVCS.
  3. All changes are made to the Local Repository and then pushed or synced to other repositories. The Local repository contains the entire history
  4. In centralized VC, there’s a central server that contains all of the source code and metadata. This is the One True Version of the code; all source control actions occur against this central repository. Of course, doing this requires a network connection to the server. The upside here is that you don’t need to pull down the entire set of files in order to make a change; you can get just what you need, on an on-demand basis TFS source control and Subversion are examples of CVCS.
  5. All changes are made to the Local Repository and then pushed or synced to other repositories. The Local repository contains the entire history