SlideShare a Scribd company logo
1 of 43
A Deeper Look at
TFS 2012 Version
Control
Steve Lange
Sr. Developer Technology Specialist
Web Service         SQL Server   Version
Application         backend      Control Proxy
Communication via   Scalable     Network-near cache
HTTP(S)                          for versioned artifacts
                    Manageable
Runs on IIS
Server Workspaces



Local Workspaces
Check-in Lock                                Check-out Lock
Less restrictive                             Prevents any changes from being made
                                             by others
A check-in lock is less restrictive than a
check-out lock.                              Only applies to server workspaces
Other users can make local changes, but      Can be applied to files with no pending
not check in                                 changes anywhere
Read                         Read the contents of a file or folder

Check out                    Check out and make a pending change to items in a folder

Check in                     Check in items and revise any committed changeset comments
Label                        Label items
Lock                         Lock and unlock folders or files
Revise other user's changes Edit the comments on checked-in files, even if another user checked in the file
Unlock other user's changes Unlock files locked by other users
Undo other user's changes    Undo a pending change made by another user
Administer labels            Edit or delete labels created by another user
Manage permissions           Manage other users' permissions for folders and files in version control
Check in other user's        Check in changes that were made by other users. Pending changes will be committed at check-in
changes
Merge                        For a given path can merge changes into this path
Manage branch                For a given path can convert any folder under that path into a branch. Can also edit properties, re-parent,
                             and convert a branch to a folder
versionspec


   Changeset               [C]n                                     /v:C8
   Label                   Llabel                                   [file];LMyLabelName
   Date & Time             Dyyyy-mm-ddTxx:xx                        /version:D2012-03-22
                           (or any format supported by .NET or on   /version:D2012-03-22T09:00
                           local machine)
   Workspace (current)     W
   Workspace (specified)   Wworkspacename;                          WResolveRIConflicts;PeterW
                           workspaceowner
   Tip                     T
tf get [itemspec] [/version:versionspec] [/all] [/overwrite] [/force] [/remap]
[/recursive] [/preview] [/noautoresolve] [/noprompt]
[/login:username,[password]]

tf get *.cs /recursive
tf get program.cs;8




tf checkout [/lock:(none|checkin|checkout)] [/recursive] [/encoding:encoding]
itemspec [/login: username,[password]]


tf checkout program1.cs program2.c
tf checkin [/author:author name] [/comment:("comment"|@comment file)] [/noprompt]
[/notes:("Note Name"="note text"|@notefile)] [/override:(reason|@reasonfile)]
[/recursive] [/saved] [/validate] [itemspec] [/bypass] [/force] [/noautoresolve]
[/login:username,[password]] [/new]

tf checkin /comment:"Re-implemented Pi calculator"
tf checkin program.cs /noprompt




tf label labelname[@scope] [/owner:ownername] itemspec [/version:versionspec]
[/comment:("comment"|@commentfile)] [/child:(replace|merge)] [/recursive]
[login:username,[password]] [/collection:TeamProjectCollectionUrl]

tf label goodbuild /version:3 $/src/314.cs
tf label goodbuild docs /recursive
tf stat[us] itemspec [/collection:TeamProjectCollectionUrl]
[/login:username,[password]] ([/workspace:workspacename[;workspaceowner]] |
[/shelveset:shelvesetname[;shelvesetowner]]) [/format:(brief|detailed)]
[/recursive][/user:(*|username)] [/nodetect]

tf stat SolutionA* /recursive




tf add itemspec [/lock:(none|checkin|checkout)] [/encoding:filetype] [/noprompt]
[/recursive] [/noignore] [/login:username,[password]]


tf add *.cs /recursive
Summary
Steve Lange
sr. developer technology specialist

stevenl@microsoft.com
@stevelange | http://slange.me
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the
part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Figure 1:
Magic
Quadrant for
Application
Lifecycle
Management
Visual Studio 2012 homepage
 Downloads
Visual Studio 2012 Product Guide
Visual Studio 2012 Product Comparison
VS 2012 ALM VM and Labs
Visual Studio 2012 Readme
Visual Studio 2012 Learning Library
 Articles
 Videos
Using Version Control
 What's New in Version Control
 Get Started
 Develop Your App
 Suspend Your Work
 Check In Your Work
 Isolate Risk
 View and Manage Past Versions
 Compare Folders and Files
 Resolve File Conflicts
 Work with Version Control Locks
 Version Control Commands
Converting from Visual SourceSafe
SVN (by Timely Migration)
ClearCase


Bridging with Git
SVN Bridge
ALM with Visual Studio and TFS
Cross-Platform Development
Extending Team Foundation Server
TFS Integration Platform

More Related Content

What's hot

Deep dive into feature versioning in SharePoint 2010
Deep dive into feature versioning in SharePoint 2010Deep dive into feature versioning in SharePoint 2010
Deep dive into feature versioning in SharePoint 2010Jeremy Thake
 
Jeremy thake introducing alm to share point development implementations (ap...
Jeremy thake   introducing alm to share point development implementations (ap...Jeremy thake   introducing alm to share point development implementations (ap...
Jeremy thake introducing alm to share point development implementations (ap...Jeremy Thake
 
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldSTLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldAngela Dugan
 
Share Point Development With Unit Testing
Share Point Development With Unit TestingShare Point Development With Unit Testing
Share Point Development With Unit TestingJeremy Thake
 
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile wayContinuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile wayLeonard Fingerman
 
Continous integration
Continous integrationContinous integration
Continous integrationJeremy Wilken
 
Simple Continous Integration
Simple Continous IntegrationSimple Continous Integration
Simple Continous IntegrationRicky Martaputra
 
Functional & Performance Test Automation with CI
Functional & Performance Test Automation with CI Functional & Performance Test Automation with CI
Functional & Performance Test Automation with CI Leonard Fingerman
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case StudyTalentica Software
 
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014Wael Hamze
 
How to Perform Test Automation With Gauge & Selenium Framework
How to Perform Test Automation With Gauge & Selenium Framework How to Perform Test Automation With Gauge & Selenium Framework
How to Perform Test Automation With Gauge & Selenium Framework Sarah Elson
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introductionDavid Ionut
 
Testing in DevOps world
Testing in DevOps worldTesting in DevOps world
Testing in DevOps worldMoataz Nabil
 
Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014Wael Hamze
 
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...TestingAR Meetup
 
TFS Build - Continuous Integration
TFS Build - Continuous IntegrationTFS Build - Continuous Integration
TFS Build - Continuous IntegrationEsteban Garcia
 
CCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilCCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilAngela Dugan
 

What's hot (20)

Deep dive into feature versioning in SharePoint 2010
Deep dive into feature versioning in SharePoint 2010Deep dive into feature versioning in SharePoint 2010
Deep dive into feature versioning in SharePoint 2010
 
Jeremy thake introducing alm to share point development implementations (ap...
Jeremy thake   introducing alm to share point development implementations (ap...Jeremy thake   introducing alm to share point development implementations (ap...
Jeremy thake introducing alm to share point development implementations (ap...
 
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldSTLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
 
Share Point Development With Unit Testing
Share Point Development With Unit TestingShare Point Development With Unit Testing
Share Point Development With Unit Testing
 
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile wayContinuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
 
Agile test practices
Agile test practicesAgile test practices
Agile test practices
 
Continous integration
Continous integrationContinous integration
Continous integration
 
Simple Continous Integration
Simple Continous IntegrationSimple Continous Integration
Simple Continous Integration
 
Functional & Performance Test Automation with CI
Functional & Performance Test Automation with CI Functional & Performance Test Automation with CI
Functional & Performance Test Automation with CI
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case Study
 
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
Continuous Delivery with Dynamics CRM - CRMUG Webinar 2014
 
How to Perform Test Automation With Gauge & Selenium Framework
How to Perform Test Automation With Gauge & Selenium Framework How to Perform Test Automation With Gauge & Selenium Framework
How to Perform Test Automation With Gauge & Selenium Framework
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introduction
 
Testing in TFS
Testing in TFSTesting in TFS
Testing in TFS
 
Automated UI Testing
Automated UI TestingAutomated UI Testing
Automated UI Testing
 
Testing in DevOps world
Testing in DevOps worldTesting in DevOps world
Testing in DevOps world
 
Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014
 
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...
TestingAR XX - Protractor e2e Test Framework - Introduction what we have lear...
 
TFS Build - Continuous Integration
TFS Build - Continuous IntegrationTFS Build - Continuous Integration
TFS Build - Continuous Integration
 
CCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilCCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evil
 

Viewers also liked

MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...
MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...
MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...South Nassau Communities Hospital
 
Web Vulnerabilities - Building Basic Security Awareness
Web Vulnerabilities - Building Basic Security AwarenessWeb Vulnerabilities - Building Basic Security Awareness
Web Vulnerabilities - Building Basic Security AwarenessGurpreet Luthra
 
A human being
A human beingA human being
A human beingFer Nanda
 
Manejo excel (10)
Manejo excel (10)Manejo excel (10)
Manejo excel (10)Daniel Abdo
 
Audiënties door koningin zijn stap te ver
Audiënties door koningin zijn stap te verAudiënties door koningin zijn stap te ver
Audiënties door koningin zijn stap te verThierry Debels
 
Paul.lesson.4.greek.part.2
Paul.lesson.4.greek.part.2Paul.lesson.4.greek.part.2
Paul.lesson.4.greek.part.2John Wible
 
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version ControlJoget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version ControlJoget Workflow
 
Branching in TFS 2010 Part I (Branching Theory)
Branching in TFS 2010 Part I (Branching Theory)Branching in TFS 2010 Part I (Branching Theory)
Branching in TFS 2010 Part I (Branching Theory)jvaran
 

Viewers also liked (18)

Action plan week 2
Action plan week 2Action plan week 2
Action plan week 2
 
MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...
MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...
MedicAlert Foundation Recognizes South Nassau ER Nurse for Hurricane Sandy Re...
 
Summary
SummarySummary
Summary
 
Web Vulnerabilities - Building Basic Security Awareness
Web Vulnerabilities - Building Basic Security AwarenessWeb Vulnerabilities - Building Basic Security Awareness
Web Vulnerabilities - Building Basic Security Awareness
 
sparqs
sparqssparqs
sparqs
 
St Rosillo Red Natura
St Rosillo Red Natura St Rosillo Red Natura
St Rosillo Red Natura
 
Registro MTE - Frente
Registro MTE - FrenteRegistro MTE - Frente
Registro MTE - Frente
 
A human being
A human beingA human being
A human being
 
Manejo excel (10)
Manejo excel (10)Manejo excel (10)
Manejo excel (10)
 
Vivir en Medellín
Vivir en MedellínVivir en Medellín
Vivir en Medellín
 
Audiënties door koningin zijn stap te ver
Audiënties door koningin zijn stap te verAudiënties door koningin zijn stap te ver
Audiënties door koningin zijn stap te ver
 
Paul.lesson.4.greek.part.2
Paul.lesson.4.greek.part.2Paul.lesson.4.greek.part.2
Paul.lesson.4.greek.part.2
 
Infografía
Infografía Infografía
Infografía
 
Action plan week 3
Action plan week 3Action plan week 3
Action plan week 3
 
Ppt mak yong
Ppt mak yongPpt mak yong
Ppt mak yong
 
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version ControlJoget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version Control
 
Branching in TFS 2010 Part I (Branching Theory)
Branching in TFS 2010 Part I (Branching Theory)Branching in TFS 2010 Part I (Branching Theory)
Branching in TFS 2010 Part I (Branching Theory)
 
Images
ImagesImages
Images
 

Similar to TFS 2012 Version Control Deep Dive

Version control with GIT
Version control with GITVersion control with GIT
Version control with GITZeeshan Khan
 
Chicago alm user group tfs version control poster - tfvc and git
Chicago alm user group   tfs version control poster - tfvc and gitChicago alm user group   tfs version control poster - tfvc and git
Chicago alm user group tfs version control poster - tfvc and gitDave Burnison
 
Git cheat-sheet-education
Git cheat-sheet-educationGit cheat-sheet-education
Git cheat-sheet-educationssuser0bad24
 
test
testtest
testzwned
 
Obevo Javasig.pptx
Obevo Javasig.pptxObevo Javasig.pptx
Obevo Javasig.pptxLadduAnanu
 
Getting Started with Git: A Primer for SVN and TFS Users
Getting Started with Git: A Primer for SVN and TFS UsersGetting Started with Git: A Primer for SVN and TFS Users
Getting Started with Git: A Primer for SVN and TFS UsersNoam Kfir
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheetAbdul Basit
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and GitAlec Clews
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheetJae Nwawe
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheetleo_priv00
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheetAdeel Munir
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheetvartmp
 

Similar to TFS 2012 Version Control Deep Dive (20)

ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
 
Version control with GIT
Version control with GITVersion control with GIT
Version control with GIT
 
Chicago alm user group tfs version control poster - tfvc and git
Chicago alm user group   tfs version control poster - tfvc and gitChicago alm user group   tfs version control poster - tfvc and git
Chicago alm user group tfs version control poster - tfvc and git
 
Git cheat-sheet-education
Git cheat-sheet-educationGit cheat-sheet-education
Git cheat-sheet-education
 
Techmoneyguide
TechmoneyguideTechmoneyguide
Techmoneyguide
 
TFS Source Control Management
TFS Source Control ManagementTFS Source Control Management
TFS Source Control Management
 
Git cheat-sheet-education
Git cheat-sheet-educationGit cheat-sheet-education
Git cheat-sheet-education
 
test
testtest
test
 
Git basics for beginners
Git basics for beginnersGit basics for beginners
Git basics for beginners
 
Obevo Javasig.pptx
Obevo Javasig.pptxObevo Javasig.pptx
Obevo Javasig.pptx
 
Getting Started with Git: A Primer for SVN and TFS Users
Getting Started with Git: A Primer for SVN and TFS UsersGetting Started with Git: A Primer for SVN and TFS Users
Getting Started with Git: A Primer for SVN and TFS Users
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
 
SVN Information
SVN Information  SVN Information
SVN Information
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 
Github git-cheat-sheet
Github git-cheat-sheetGithub git-cheat-sheet
Github git-cheat-sheet
 

More from Steve Lange

Visual Studio ALM 2013 - Edition Comparison
Visual Studio ALM 2013 - Edition ComparisonVisual Studio ALM 2013 - Edition Comparison
Visual Studio ALM 2013 - Edition ComparisonSteve Lange
 
Team Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingTeam Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingSteve Lange
 
Upgrading to TFS 2010
Upgrading to TFS 2010Upgrading to TFS 2010
Upgrading to TFS 2010Steve Lange
 
Microsoft ALM Platform Overview
Microsoft ALM Platform OverviewMicrosoft ALM Platform Overview
Microsoft ALM Platform OverviewSteve Lange
 
Team Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingTeam Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingSteve Lange
 
Visual Studio LightSwitch (Beta 1) Overview
Visual Studio LightSwitch (Beta 1) OverviewVisual Studio LightSwitch (Beta 1) Overview
Visual Studio LightSwitch (Beta 1) OverviewSteve Lange
 
Team Foundation Server 2010 - Overview
Team Foundation Server 2010 - OverviewTeam Foundation Server 2010 - Overview
Team Foundation Server 2010 - OverviewSteve Lange
 
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewVisual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewSteve Lange
 
Team Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlTeam Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlSteve Lange
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Steve Lange
 
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)Steve Lange
 
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...Steve Lange
 
PHX - Session #4 Treating Databases as First-Class Citizens in Development
PHX - Session #4 Treating Databases as First-Class Citizens in DevelopmentPHX - Session #4 Treating Databases as First-Class Citizens in Development
PHX - Session #4 Treating Databases as First-Class Citizens in DevelopmentSteve Lange
 
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...Steve Lange
 
PHX Session #1: Development Best Practices And How Microsoft Helps
PHX Session #1: Development  Best  Practices And  How  Microsoft  HelpsPHX Session #1: Development  Best  Practices And  How  Microsoft  Helps
PHX Session #1: Development Best Practices And How Microsoft HelpsSteve Lange
 
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...Steve Lange
 
Big Event Looping Deck
Big Event Looping DeckBig Event Looping Deck
Big Event Looping DeckSteve Lange
 
Session #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSession #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSteve Lange
 
Session #1: Development Practices And The Microsoft Approach
Session #1: Development Practices And The Microsoft ApproachSession #1: Development Practices And The Microsoft Approach
Session #1: Development Practices And The Microsoft ApproachSteve Lange
 
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...Steve Lange
 

More from Steve Lange (20)

Visual Studio ALM 2013 - Edition Comparison
Visual Studio ALM 2013 - Edition ComparisonVisual Studio ALM 2013 - Edition Comparison
Visual Studio ALM 2013 - Edition Comparison
 
Team Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingTeam Foundation Server 2012 Reporting
Team Foundation Server 2012 Reporting
 
Upgrading to TFS 2010
Upgrading to TFS 2010Upgrading to TFS 2010
Upgrading to TFS 2010
 
Microsoft ALM Platform Overview
Microsoft ALM Platform OverviewMicrosoft ALM Platform Overview
Microsoft ALM Platform Overview
 
Team Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingTeam Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & Reporting
 
Visual Studio LightSwitch (Beta 1) Overview
Visual Studio LightSwitch (Beta 1) OverviewVisual Studio LightSwitch (Beta 1) Overview
Visual Studio LightSwitch (Beta 1) Overview
 
Team Foundation Server 2010 - Overview
Team Foundation Server 2010 - OverviewTeam Foundation Server 2010 - Overview
Team Foundation Server 2010 - Overview
 
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewVisual Studio 2010 Testing Overview
Visual Studio 2010 Testing Overview
 
Team Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlTeam Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version Control
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)
 
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
 
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
 
PHX - Session #4 Treating Databases as First-Class Citizens in Development
PHX - Session #4 Treating Databases as First-Class Citizens in DevelopmentPHX - Session #4 Treating Databases as First-Class Citizens in Development
PHX - Session #4 Treating Databases as First-Class Citizens in Development
 
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
 
PHX Session #1: Development Best Practices And How Microsoft Helps
PHX Session #1: Development  Best  Practices And  How  Microsoft  HelpsPHX Session #1: Development  Best  Practices And  How  Microsoft  Helps
PHX Session #1: Development Best Practices And How Microsoft Helps
 
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
 
Big Event Looping Deck
Big Event Looping DeckBig Event Looping Deck
Big Event Looping Deck
 
Session #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSession #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your Buck
 
Session #1: Development Practices And The Microsoft Approach
Session #1: Development Practices And The Microsoft ApproachSession #1: Development Practices And The Microsoft Approach
Session #1: Development Practices And The Microsoft Approach
 
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

TFS 2012 Version Control Deep Dive

  • 1. A Deeper Look at TFS 2012 Version Control Steve Lange Sr. Developer Technology Specialist
  • 2.
  • 3.
  • 4. Web Service SQL Server Version Application backend Control Proxy Communication via Scalable Network-near cache HTTP(S) for versioned artifacts Manageable Runs on IIS
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21. Check-in Lock Check-out Lock Less restrictive Prevents any changes from being made by others A check-in lock is less restrictive than a check-out lock. Only applies to server workspaces Other users can make local changes, but Can be applied to files with no pending not check in changes anywhere
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Read Read the contents of a file or folder Check out Check out and make a pending change to items in a folder Check in Check in items and revise any committed changeset comments Label Label items Lock Lock and unlock folders or files Revise other user's changes Edit the comments on checked-in files, even if another user checked in the file Unlock other user's changes Unlock files locked by other users Undo other user's changes Undo a pending change made by another user Administer labels Edit or delete labels created by another user Manage permissions Manage other users' permissions for folders and files in version control Check in other user's Check in changes that were made by other users. Pending changes will be committed at check-in changes Merge For a given path can merge changes into this path Manage branch For a given path can convert any folder under that path into a branch. Can also edit properties, re-parent, and convert a branch to a folder
  • 27.
  • 28. versionspec Changeset [C]n /v:C8 Label Llabel [file];LMyLabelName Date & Time Dyyyy-mm-ddTxx:xx /version:D2012-03-22 (or any format supported by .NET or on /version:D2012-03-22T09:00 local machine) Workspace (current) W Workspace (specified) Wworkspacename; WResolveRIConflicts;PeterW workspaceowner Tip T
  • 29. tf get [itemspec] [/version:versionspec] [/all] [/overwrite] [/force] [/remap] [/recursive] [/preview] [/noautoresolve] [/noprompt] [/login:username,[password]] tf get *.cs /recursive tf get program.cs;8 tf checkout [/lock:(none|checkin|checkout)] [/recursive] [/encoding:encoding] itemspec [/login: username,[password]] tf checkout program1.cs program2.c
  • 30. tf checkin [/author:author name] [/comment:("comment"|@comment file)] [/noprompt] [/notes:("Note Name"="note text"|@notefile)] [/override:(reason|@reasonfile)] [/recursive] [/saved] [/validate] [itemspec] [/bypass] [/force] [/noautoresolve] [/login:username,[password]] [/new] tf checkin /comment:"Re-implemented Pi calculator" tf checkin program.cs /noprompt tf label labelname[@scope] [/owner:ownername] itemspec [/version:versionspec] [/comment:("comment"|@commentfile)] [/child:(replace|merge)] [/recursive] [login:username,[password]] [/collection:TeamProjectCollectionUrl] tf label goodbuild /version:3 $/src/314.cs tf label goodbuild docs /recursive
  • 31. tf stat[us] itemspec [/collection:TeamProjectCollectionUrl] [/login:username,[password]] ([/workspace:workspacename[;workspaceowner]] | [/shelveset:shelvesetname[;shelvesetowner]]) [/format:(brief|detailed)] [/recursive][/user:(*|username)] [/nodetect] tf stat SolutionA* /recursive tf add itemspec [/lock:(none|checkin|checkout)] [/encoding:filetype] [/noprompt] [/recursive] [/noignore] [/login:username,[password]] tf add *.cs /recursive
  • 32.
  • 33.
  • 34.
  • 36. Steve Lange sr. developer technology specialist stevenl@microsoft.com @stevelange | http://slange.me
  • 37. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  • 38.
  • 40. Visual Studio 2012 homepage Downloads Visual Studio 2012 Product Guide Visual Studio 2012 Product Comparison VS 2012 ALM VM and Labs Visual Studio 2012 Readme Visual Studio 2012 Learning Library Articles Videos
  • 41. Using Version Control What's New in Version Control Get Started Develop Your App Suspend Your Work Check In Your Work Isolate Risk View and Manage Past Versions Compare Folders and Files Resolve File Conflicts Work with Version Control Locks Version Control Commands
  • 42. Converting from Visual SourceSafe SVN (by Timely Migration) ClearCase Bridging with Git SVN Bridge
  • 43. ALM with Visual Studio and TFS Cross-Platform Development Extending Team Foundation Server TFS Integration Platform

Editor's Notes

  1. http://msdn.microsoft.com/en-us/library/ms252473.aspx
  2. http://msdn.microsoft.com/en-us/library/ms252473.aspx
  3. Version control security can be applied at any level of scope within a team project (project, branch, folder, file).
  4. What these companies need are solutions for delivering modern applications. For modern application development there is Visual Studio 2012. Visual Studio 2012 is the development solution for teams and individuals to handle the challenges of modern development. It is a comprehensive solution for creating apps for a variety of Microsoft platforms of any scope from departmental to enterprise. In this talk you will learn more about modern app development and lifecycle and how Visual Studio helps you create applications that your users will love.
  5. This graphic was published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request from Microsoft  *Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose