git and github for .net developers

10
Git and GitHub Twitter: @wbsimms Skype: William.Barrett.Simms

Upload: william-simms

Post on 03-Sep-2014

334 views

Category:

Technology


1 download

DESCRIPTION

Git and GitHub are wildly popular right now with all types of developers. I want to discuss how git (and GitHub) can be used in the .NET world.

TRANSCRIPT

Page 1: Git and GitHub for .NET Developers

Git and GitHub

Twitter: @wbsimmsSkype: William.Barrett.Simms

Page 2: Git and GitHub for .NET Developers

VCS History – Stone Age

Page 3: Git and GitHub for .NET Developers

Networking• NoneOperation• Pessimistic locking• Only one person can work on a file at a

timeExamples• RCS, SCCS

VCS History – First Generation

Page 4: Git and GitHub for .NET Developers

Networking• CentralizedOperation• Optimistic locking• Concurrent development resolved

via merge resolution• Atomic Commits• All commits must be conflict

resolvedExamples• Subversion, ClearCase,

TFS*

VCS History – Second Generation

Page 5: Git and GitHub for .NET Developers

Networking• Distributed RepositoryOperation• Optimistic locking• Concurrent development

resolved via merge resolution• Atomic Commits• All commits must be conflict

resolvedExamples• Git, Mercurial

VCS History – Current Generation

Page 6: Git and GitHub for .NET Developers

Make Changes Commit Push

How it works

Make Changes Commit Push! –

Uh-oh Pull Resolve Conflicts Push

Conflict Resolution

Page 7: Git and GitHub for .NET Developers

GitHub

What’s GitHub?

Centralized Repository• Group authorization• Public and Private

Repositories• Social Coding

• Integrations• Huge!!! (Cool demos to follow)

• Metrics• Great for Agile

• Cheap

Page 8: Git and GitHub for .NET Developers

• Fast, Easy, Local Branching• “git branch <name>“• Local History• “git log”• Merging• “git merge”

Several UIs and integrations available

Git Features

Page 9: Git and GitHub for .NET Developers

• git-scm• Command-line• http://git-scm.com• TortoiseGit • Shell integration• http://code.google.com/p/tortoisegit/• Git Source Control Provider• Visual Studio 2013 integration• Via Nuget

My toolset

Page 10: Git and GitHub for .NET Developers

• Command-line• TortoiseGit

Demo