~/talk

The definitive deep dive into the .git folder

Talkat NDC London 2024 · 2024-01-29..02-02· [devops-and-delivery, databases]
slides:none on file

Opens the .git folder and shows exactly what is stored: objects: commits → trees → blobs with Zlib-compressed files that git cat-file can inflate, unzipper to inspect raw objects and git-explorer to visualize the DAG. Demonstrates init vs --bare, staging makes blob objects, commits reference trees, branches/tags are refs (plain files), detached HEAD behavior, reflogs track moves and Git cleans unreachable objects after ~2 weeks, hooks run shell scripts (use symlink tools like githooks/husky), and amending or force-push never safely removes an already-pushed secret.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14New Git repository
  3. 3:41Committing files
  4. 8:29Inspecting Git objects
  5. 12:44Git Explorer
  6. 15:37Staging changes
  7. 17:25File history storage
  8. 20:39Amending commits
  9. 23:14Never commit secrets
  10. 25:01Git objects explained
  11. 27:07Branches in .git
  12. 29:05Detached HEAD
  13. 31:23Managing branches
  14. 32:26Git remotes
  15. 37:06Recovering commits
  16. 40:18Resetting commits
  17. 45:09Git hooks
  18. 52:03Git config
  19. 56:20Git aliases
  20. 58:29Index file
  21. 1:01:19Summary
  22. 1:02:47Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.