Presentation is loading. Please wait.

Presentation is loading. Please wait.

Git it Done with Team Foundation Server

Similar presentations


Presentation on theme: "Git it Done with Team Foundation Server"— Presentation transcript:

1 Git it Done with Team Foundation Server
We will begin the presentation at 2 minutes past the hour… Thanks for attending! Josh Wilcox, MCSD: ALM Crosslake Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

2 Assessment & Improvement Plan
Engineering System Assessment & Improvement Plan Process People Tools Interim technology leaders Organizatioal models and career development Coaching and training Product vision & strategy Software development model and workflow QA practices and tools Product, program and project management Human Performance Improvement Best Practices Business Impact: Enhance product value and quality Increase engineering effectiveness Reduce time to market Implement best practices and tools Deliver measurable improvements ALM Deployment Development tools and implementation Visual Studio/TFS Build, deploy, test Copyright © Crosslake Technologies, LLC 9/18/2018

3 What is your experience with Git?
None Basic familiarity, but not much use Use it regularly, but not with TFS Use it regularly with TFS, but want to learn more Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

4 What’s in it for you? How does Git help me develop software with TFS?
Find out how TFS integrates with Git technology Work with lightweight branching and a great offline experience, one that allows edits and commits regardless of network connection How does this whole Git workflow integrate with TFS? We will take a trip through an end-to-end Git workflow scenario How do I get started and what are the best practices? Hear some pointers on getting started, sprinkled with a few best practices Notes/Assumptions: Focus is on 2013; 2013 brings out-of-the-box Git integration, whereas 2012 required plugins be installed. Hopefully our scenario is similar to yours. Let us know if it is not and we can discuss. Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

5 What is Git? A brief look at what Git is, and why people use it
Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

6 What is Git? Distributed Version Control System
Linus Torvalds 2005 project for developing the Linux kernel Open source - based on community need for SCM after fallout with BitKeeping (proprietary SCM) Best in-class offline experience Advanced Edit/Commit file model Local copy of entire project (repo) Branching model supports workflows: branching-by-topic, feature branches, 3-way branch merges, rebasing Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

7 Feature Branch Workflow
The core idea behind the Feature Branch Workflow is that all feature development should take place in a dedicated branch instead of the master branch. Lightweight branching: easily created and disposed of, easily merged, smart enough to rebase In the example above, “Animated Menu” is a feature Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

8 Modern source-control approaches: Git
Distributed Version Control Open source Fully offline experience Simple branching model Modular codebases Distributed teams Working offline Open source integration Best for Copyright © Crosslake Technologies, LLC 9/18/2018

9 Team Foundation Server Git Integration
A whirlwind overview of key features Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

10 How does TFVC work? Centralized Version Control System
Check-in/Check-out model Scales to large Enterprise projects Local files (workspace) are read-only until checked out with server Partial offline support – centralized Edit/Commit model (local workspace) Fine-level permission controls Monitoring and auditability Copyright © Crosslake Technologies, LLC 9/18/2018

11 Modern source-control approaches: TFS
Centralized Version Control Enterprise scalable Automation and ALM Server-managed Large integrated codebases Allows usage monitoring Fine-grained permissions Control and audit down to the file level Best for Copyright © Crosslake Technologies, LLC 9/18/2018

12 Architecture Overview
Team Explorer TFS SCC Provider Git SCC Provider Local Repo TFVC Object Model LibGit2 / LibGit2Sharp Other Remote Git Repo Team Foundation Server / Service 3rd Party 3rd Party Project 1 Project 2 Anywhere that has a .git endpoint, you can connect to straight from VS. Visual studio allows you to interface with these source code management locations. XCode Eclipse Src ALM Bld Src ALM Bld Eclipse Shell Shell TFVC Git Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

13 Why Git with VS/TFS? Improved distributed team support through:
Fully offline local repos Tight integration with the rest of the TFS ALM suite Lightweight branching and merging Adapting to many team workflows Collaborating with developers using Git-native tools, such as XCode Hosted code on different servers, such as Team Foundation, or Git servers like GitHub, BitBucket, and CodePlex Added features to Git: repo-level security administration, audit trails, code comments, Git commands in IDE, etc. If you’re using TFS to store your source code on a local server, or using TFS Service to host your code in the cloud with Microsoft, then you can access the SCM system from any device and any client that can connect to a git repo and issue git commands on the back end – meaning you can use poshgit or Git For Windows on your PC, or xcode on your mac, or git CLI (command-line interface) on a linux box, etc. So now Visual Studio allows you to have an IDE for git projects hosted outside MS, and TFS allows you to store git repos in a way that lets you dev from any machine and still take advantage of the TFS ALM workflow (work items, builds, project management). Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

14 TFS Git Walkthrough Demo Results:
See four different ways you can use Git and TFS/VS 2013 in your development workflow. Process: Show file management and project creation/interaction workflow: In a TFVC project on TFS In a Git project on TFS In a Git project on GitHub Branching in a Git project Migration from GitHub to TFS Review Git project security, code comments, commit history in Web Access Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

15 Setup a free account and try it out now on Team Foundation Service
Copyright © Crosslake Technologies, LLC 9/18/2018

16 What’s next? Fill out the survey http://svy.mk/12gtzAB
Download the slides: Evaluate TFS Free hosted: VM used for this demo is free If a locally-hosted solution is right for you, take the time to plan it Contact Crosslake for advice on development processes, practices, and/or TFS deployment Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC

17 Links & Resources Free Team Foundation Service Account
Setting up Git on your local dev machine Use Git branches to switch contexts, suspend work, and isolate risk Learn more about Visual Studio 2013 Preview features Highlights – What’s new in Visual Studio 2013 RTM Learn more about the history of Git Free online Git hosting sites Copyright © Crosslake Technologies, LLC 9/18/2018 Copyright © Crosslake Technologies, LLC


Download ppt "Git it Done with Team Foundation Server"

Similar presentations


Ads by Google