git tfs

17
git-tfs Alternate Working Title: “Make love not war” https://github.com/git-tfs

Upload: richard-banks

Post on 20-Nov-2014

6.491 views

Category:

Technology


1 download

DESCRIPTION

A presentation explaining how git-tfs helps developers who want the power of a local git repository but need to work with TFS source control

TRANSCRIPT

Page 1: Git TFS

git-tfs

Alternate Working Title:“Make love not war”

https://github.com/git-tfs

Page 2: Git TFS

how to get it?

Page 3: Git TFS

why?

Q: local workspaces in TFS11 means this is obsolete, right?A: nope

local branchinglocal commitslocal historylocal everythinggit == serverless source controlgit > tfs, especially for offline development & distributed work

Page 4: Git TFS

get started

git-tfs quick-clone http://tfs/server “$/source/path” localPath

Page 5: Git TFS

get started: what’s in the repo?

Page 6: Git TFS

local history

Page 7: Git TFS

making a change…

Cue “vim, WTF?!” comments

Page 8: Git TFS

…and committing it

Page 9: Git TFS

one more time, for fun

Page 10: Git TFS

check local history

Page 11: Git TFS

now push to tfs

Page 12: Git TFS

finish commit

Page 13: Git TFS

pulling changes

Page 14: Git TFS

push git commits separately

Page 15: Git TFS

gated checkins?

• git checkout –b newBranch• git commit –a –m “xx”• git tfs pull• git tfs ct [and wait for build to pass]• git checkout master• git tfs pull

Page 16: Git TFS

work item related?

Page 17: Git TFS