Git Internal - The Tree Explained

preview_player
Показать описание
Git internally stores 3 types of objects, Blobs which are binary representations of our files, Commits we give us a snapshot of the repository at a particular time and Trees which define the files in a folder and also point to other tree objects. In this tutorial we look at the low level git commands that are used in constructing tree objects and how and where they are stored internally by Git

00:00 Intro
00:50 Create Git using first principles
01:10 Create Git internal folders
01:30 Create HEAD pointer
02:40 Create simple file with text HELLO using git hash-object
03:15 Examine Blob with Git Cat-file -p and -t
04:50 Create TREE using git write-tree
05:20 View Tree details using git cat-file -p and -t
07:30 Create new Tree with git write-tree
09:00 Examine both TREE objects now we have a subfolder in place
Рекомендации по теме
Комментарии
Автор

Fantastic explanation. This really clicked for me after watching your video :)

EthanBehrends-wi