-
Notifications
You must be signed in to change notification settings - Fork 0
[Why] Git
What If We Dig Deeper edited this page Feb 5, 2018
·
12 revisions
Guiding principles and implications
- Speed
- everything is local
- Simple design
- Strong support for non-linear development (thousands of parallel branches)
- painless branching
- Fully distributed
- full history cloned locally
- Able to handle large projects like the Linux kernel efficiently (speed and data size)
- snapshots & pointers
Persistent map of keys and values. Pointers to trees and blobs.
echo “Apple II” | git hash-object —-stdin
open .git
# print out content of file
git cat-file sha1 -p
like a high-level versioned, file system that sits on top of your file system. Linus Torvalds OS engineer.
like 3 mini file systems
#ls
git branch
#cd
git checkout
#mkdir
git checkout -b