Git and Distributed Source Control
We Will Cover
What is traditional source control?
How does distributed differ?
Why Git?
Git at
Ai
What is source control?
Central location to store code
Version files
Branching: Release and feature management
Why do we need source control?
Why do we need source control?
Backups
Why do we need source control?
Redundancy
Why do we need source control?
Parallel Coding
Why do we need source control?
Deploys
Traditional Source Control
Traditional Source Control
svn update
svn commit
svn merge
svn copy
Traditional Source Control
Branching and Merging
Distributed Source Control
Distributed Source Control
Local Commits
True Branching
Smarter Merging
Staging
Distributed Source Control
git pull
git add
git commit
git branch
git checkout
git merge
git remote
Why Git?
Easy
Most widely used
Wider library of available hooks
More code review tools
Demo!
try.github.com
git.my.ai
Gitorious setup
Developer sets up keys (new, or reuse Amazon/Github)
Have Rush set up a new repo
Initial commit or clone
Tools
Commit Log
Visual Diff
Jira Integration
Branching Strategy
Initial dev on master
Post launch, prod lives on master
Each new release gets its own branch
Helpful links
Un-learning SVN
Generating SSH keys
Pro Git
Github for Mac
Github for Windows
Tortoise Git
Questions?