Jim Weirich - @jimweirich If for some crazy reason you don’t already have git installed, go download it from here - http://git-scm.com/download Source Control Made Easy - Pragmatic Bookshelf Screen Cast git config –global user.name “Brian Olore” git config –global user.email “brian@olore.net“ git config –global core.autocrlf input git init - creates a new, empty repository Git is about changes, not files. Always additive - Information is never destroyed - makes it really really hard to screw up your repository SHA1 used for preventing duplication - all files referenced using their hash - Is there additional meta-data that has things like executable flag, etc ?? Tags point to snapshots & never move Branches point to snapshots and move with commits Can branch after committing changes Cheap, local branches git clone gitx
(for Macs) and gitk
(any platform) are useful in exploring log history. git reset - changes a branch pointer git reset –hard - changes the branch pointer and checks out into your working directory. git rebase master - replays branch changes (rewrites commits) as if they happened on master DO NOT rebase shared branches - only reset/rebase on local repositories http:/nvie.com/git-model - “A successful Git branching model”