Git Behind the Scenes: How Does Git Work

preview_player
Показать описание
How does Git work under the hood? Have you been using Git for a while, but feel you’re still missing a comprehensive understanding of how Git works? You’re not alone.

Many people will try to explain Git with something like: “all of the data Git needs for a repository is stored within a folder called .git,” but that’s not the full story. In this session from the GitKon Git Conference, Corbin Crutchley, CTO at OceanBit, will go over in detail how the .git folder is able to track all of your changes in Git.

How does Git work internally? In this talk, you will explore how Git’s internal plumbing system utilizes your file system to keep references of Git branches, commits, files, and more! You will also learn:

- The .git folder structure
- How data is encoded for storage in Git
- What Git uses as data structures internally
- What happens under the hood in common Git operations
- How to recover from major data losses in a Git project

#git #gitkon #howdoesgitwork #gitconference #gitfolder #gitkraken

Speaker:
Corbin Crutchley
CTO, OceanBit
Рекомендации по теме
Комментарии
Автор

Woo I feel like a git expert now, thank you for this thorough walkthrough!

robin
Автор

6:40 You mentioned the inflate command. I wasn't able to find it anywhere. How do I find and install it?

By the way, great video. I learned a lot by following along and writing the commands mentioned in the video in my own terminal.

daniel-fich
Автор

When he is typing on the command line in what looks like Windows Terminal, what is providing that nice looking prompt that shows the current git branch after the directory? I see a ~, so is this made possible by WSL? Thanks.

MrKeithA
Автор

Git does not store deltas in any sense whatsoever.Presenting a concept of deltas is misleading at best and plain wrong at worst. The packed data is nothing to do with deltas, at all,

osogrande