Knowledge is Power: Getting out of Trouble by Understanding Git
summary
Explains Git as blobs, trees and commits and shows concrete commands to fix real breakage: creating a repo with git init, recovering from a destructive git reset --hard by using git reflog to find the lost hash, running git gc --prune=all implications for object lifetime, using git hash-object -w plus a tag and git cat-file to hide and retrieve blobs, automating regression hunting with git bisect, and using git rebase --exec to run tests while replaying commits.
AI-written summary · about
chapters (35)
- 0:00Intro
- 0:38Two ways of learning Git
- 2:26Not a nightmare scenario
- 3:06XKCD
- 4:55Internals
- 5:27Everything is a blob
- 7:29Git init
- 8:59Git track
- 9:28Git objects
- 10:16Commit
- 11:48Summary
- 12:06Commits
- 13:16Tree
- 14:02Refs
- 15:26Branches
- 16:04Tags
- 18:41Reset
- 21:06Ref Log
- 24:08Git GC
- 26:24PAC file
- 28:10Compressed files
- 30:14Merges
- 32:04Commit parents
- 34:11Fastforward merge
- 37:22Merge strategies
- 45:03Rebase
- 46:38Resetting
- 47:58Replayed History
- 48:34Replay History exec
- 49:31bisector
- 50:51regression testing
- 51:23objects
- 52:03hash objects
- 53:43cat file
- 54:27fun story
related talks
48mKnowledge is Power: Getting out of trouble by understanding Git
39mGetting out of trouble by understanding Git
48mBe the .txt you seek: Getting out of trouble by understanding Git
25mUnderstanding git - even the scary parts
28mHow to Really Get Git
32mGit, back to the future
35mThe Git you don't know
41mKeynote: Wrapping Your Head Around Git
