What is a git snapshot ?

Table of Contents

About

A git snapshot is a representation of your local file system when a commit is performed.

It's attached to each commit.

Tree

Each new snapshot (ie commit) will create a new Git tree. ie

  • the directory hierarchy
  • along side the contents of the files (git blob)

The commit and tree relationship looks like that (where the file are blob)


Powered by ComboStrap