7. Git vs. CVS/SVN
Distributed (git)
Centralized (CVS)
Full local history No
Work off-line No
Fast Slow
Rebase patches easily Patches go stale
Forks happen, deal Forks are painful
with it Merging is painful
Powerful merging
allows to use lots of
branches
5
8. How Git works?
Saves state not deltas.
6
Images taken from Pro Git book (http://progit.org)
9. How Git works?
Objects
7
Images taken from Pro Git book (http://progit.org)
10. How Git works?
Branches and tags
v1.3
8
Images taken from Pro Git book (http://progit.org)
17. How Git works?
Structure of .git
extensions
global exclude file
record branch changes
object storage
local branches
default main branch
remote tracking branches, divided by repository
default remote repository
default remote branch
configuration for this repository
tip of current branch
cache for staging changes for next commit
14