Lecture 6: Version Control¶
Resources¶
Introduction¶
Although git's interface is a leaky abstraction, it's underlying design is beautiful and elegant.
Git's Data Model¶
type blob = array<byte>
type tree = map<string, tree|blob>
type commit = struct {
parents: array<commit>
author: string
message: string
snapshot: tree
}