Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sofia Event Center 14-15 May 2014 Martin Kulov Git For TFS Developers.

Similar presentations


Presentation on theme: "Sofia Event Center 14-15 May 2014 Martin Kulov Git For TFS Developers."— Presentation transcript:

1 Sofia Event Center 14-15 May 2014 Martin Kulov Git For TFS Developers

2 Centralized VCS CVS Subversion Perforce Vault ClearCase Visual SourceSafe Team Foundation Version Control

3 Distributed VCS Mercurial BitKeeper Fossil Bazaar Git

4 Centralized vs Distributed VCS “master” vs “blessed” copy “online” vs “offline” history “expensive” vs “cheap” branching diffs vs snapshots

5 Git in TFS and VSO Supports every Git client OSS implementation, not Microsoft one Available in Visual Studio Online Also in Team Foundation Server 2013 Enterprise features

6 Enterprise Git Easy installation and management Support High availability and scale Integration authentication Enhanced permissions ALM integration Localization

7 Git in Visual Studio Create, clone repo Push, pull, sync Branching Work Item linking Simplified history

8 Installing Git http://msysgit.github.io/

9 The “perfect” Git environment Chocolatey cinst PoshGit cinst Git-Credential-Winstore Enable TFS alternate credentials

10 Configuring Git git config --global user.name "Your Name" git config --global user.email "Your Email“.gitignore

11 Installing Git demo

12 Git commands (1) init (“disconnected”) clone (“connected”) add, commit (“local”) push, pull, fetch (“remote”) status log gitk --all

13 Git basics Full history is downloaded History contains commits Each commit is a snapshot, not a diff Checksums are calculated Operations are local Three states Working folder Index (staged)

14 Git states tracked modified staged

15 Creating repo demo

16 Anatomy of a commit Author Committer Date Message Parent commit(s) f46b2 92da127d72 a72c2 time

17 Branches Pointer to a commit Stay local unless explicit push Easy to create and delete Remotes are read-only HEAD is another pointer f46b2 92da127d72 a72c2 time origin feature1 master *

18 Git commands (2) remote branch, checkout, merge rebase

19 Working with branches demo

20 Changing history git rebase Change commit’s parent

21 Centralized Workflow One central repo Dev team push and pull from it git pull --rebase origin master

22 Centralized workflow demo

23 Links git-scm.com/book www.atlassian.com/git/ Microsoft Virtual Academy – Using Git with Visual Studio 2013

24 Questions??? Share your feedback for this particular session and for the overall conference experience at http://aka.ms/intouch for a chance to win our prizes!


Download ppt "Sofia Event Center 14-15 May 2014 Martin Kulov Git For TFS Developers."

Similar presentations


Ads by Google