Directed Acyclic Graph

Git Objects

Git Internals This post is the second part of a series on the internal working of Git. The Git Internals series The .git Directory Git Objects (This post) The entire Git Internals series is available as a talk as well. Feel free to watch the talk instead. 馃憞 Git Objects Git has two data structures, a mutable index that caches information about the working directory and the next revision to be committed, and an immutable, append-only object database (repository) containing four types of objects ...

October 11, 2021 路 11 min 路 Harsh Kapadia
The .git Directory

The .git Directory

Git Internals This post is the first part of a series on the internal working of Git. The Git Internals series The .git Directory (This post) Git Objects The entire Git Internals series is available as a talk as well. Feel free to watch the talk instead. 馃憞 The .git Directory On executing the git init command in a directory, Git creates a hidden .git directory in that directory. The .git directory contains all the project history data on which Git can perform its version control functions. It also contains files to configure the way Git handles things for that particular repository. ...

October 11, 2021 路 7 min 路 Harsh Kapadia