Download presentation
Presentation is loading. Please wait.
Published byLinda Jenkins Modified over 6 years ago
1
Git for Visual Studio Developers MARTIN KULOV, ASE
3
Why Git Git is synonym for DVCS DVCS workflows to be added in TFS
4
Why DVCS It is top UserVoice request It is how OSS community work It is best suitable for distributed teams
5
Distributed VCS Can have “blessed” repo Provide “offline” history Has cheap branching Enable “snapshots”
6
Centralized VCS Must use one server Working with history requires Internet Somewhat expensive branching
7
Is TFVC dead? “Not for a second.” -Brian Harry, 30 Jan 2013 “It’s simply not accurate.” -B. Harry, 14 Apr 2014 “No, it is not.” -Brian Harry, 12 Mar 2015
8
State of ALM The best distributed version control experience The best centralized version control experience Feature parity is being worked on
9
Enterprise Git Easy installation and management High availability and scale Integration authentication Enhanced permissions ALM integration Localization Support
10
Git in Visual Studio Create, clone repo Push, pull, sync Branching
Work Item linking “Flattened” history
11
BASIC COMMANDS
12
Create repo init (“disconnected”) clone (“connected”)
13
Work with changes add, commit (“local”) push, pull, fetch (“remote”)
14
Getting history status log --graph gitk --all
15
KEY CONCEPTS
16
Things to Know Complete repo should be downloaded
History contains commits Each commit is a snapshot in time Snapshot is not a Revision
17
Components Working folder Git Index Local and Remote repo Three States
Tracked, Modified, Staged
18
Anatomy of a commit time f46b2 92da1 27d72 a72c2 Author Committer Date
Message Parent commit(s)
19
Branches f46b2 92da1 27d72 a72c2 time origin feature1 master * Pointer to a commit Local unless pushed Easy to create and delete Remotes are read-only HEAD is just a pointer
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
22
DEMO
23
Links git-scm.com/book pcottle.github.io/learnGitBranching/
25
Note: all attendees get 100 WinCoin points for attending the session
Note: all attendees get 100 WinCoin points for attending the session. WinCoins are virtual conference points that are collected and spent in the WinCoin shop at the conference.
26
Using Git with Visual Studio 2013 Jump Start http://www
Successful proffessionals never stop learning. Microsoft Virtual Academy offers online Microsoft trainings led by experts to help proffessionals to upgrade their knowledge. Trainings are prepared by leading eyperts from different technology areas. After you take a training, you can test your knowledge. To better understand this session, I advise you to take following trainings: Using Git with Visual Studio 2013 Jump Start Find relevant trainings at and copy links with training names.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.