SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere Àhnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

Action plan week 2
Action plan week 2Action plan week 2
Action plan week 2Jonathan Edge
 
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
 
Action plan week 3
Action plan week 3Action plan week 3
Action plan week 3Jonathan Edge
 
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
 

Andere mochten auch (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
 

Ähnlich wie 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
 
Techmoneyguide
TechmoneyguideTechmoneyguide
TechmoneyguideRockstartssl
 
Git cheat-sheet-education
Git cheat-sheet-educationGit cheat-sheet-education
Git cheat-sheet-educationAvitesh Kesharwani
 
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
 
SVN Information
SVN Information  SVN Information
SVN Information RAHUL TRIPATHI
 
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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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 & ...
 

KĂŒrzlich hochgeladen

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

KĂŒrzlich hochgeladen (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

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

Hinweis der Redaktion

  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