Git Demystified
summary
Explains how git stores snapshots not diffs: files become blob objects, directories become tree objects, commits point to trees, and all objects live under .git/objects identified by SHA hashes. Shows commands and effects: git init, git add creates blobs and updates the index, git commit makes tree+commit objects, git ls-files --stage and git cat-file -p inspect objects, and operations like three-way merge, rebase, cherry-pick, and git reset move refs while old objects remain in the database. Slides and shell file at ramir.dev/mc23.
AI-written summary · about
