Getting out of trouble by understanding Git
summary
Explains Git as three concrete objects—blob, tree, commit—and shows how refs (branches/tags) point to hashes, why SHA-1 collisions are theoretical, and how pack files and GC compress objects. Demonstrates practical rescues: using reflog recovery after a mistaken git reset, undoing a broken rebase with git reset or rebase --exec running tests, and finding the regression commit with git bisect. Also covers git cat-file, git hash-object, fast‑forward vs --no-ff merges, and hidden objects.
AI-written summary · about
chapters (8)
- 0:00Introduction to Git troubles
- 3:15Git’s core data structures
- 11:06Understanding refs branches and tags
- 16:10Resets and garbage collection
- 23:00Merging and fast-forwarding
- 28:28Rebasing history cleanly
- 30:39Getting out of trouble with Git
- 37:48Conceptual model of Git
related talks
48mKnowledge is Power: Getting out of trouble by understanding Git
48mBe the .txt you seek: Getting out of trouble by understanding Git
56mKnowledge is Power: Getting out of Trouble by Understanding Git
25mUnderstanding git - even the scary parts
41mKeynote: Wrapping Your Head Around Git
28mHow to Really Get Git
43mGit: Undoing Things and recovering from Mistakes
51mUnderstanding Git — Behind the Command Line
