Understanding Git in Simple way - Part 2
dev.to·4d·
Discuss: DEV
🌳Git Internals
Preview
Report Post

Hello, I’m Ganesh. I’m working on FreeDevTools online, currently building a single platform for all development tools, cheat codes, and TL; DRs — a free, open-source hub where developers can quickly find and use tools without the hassle of searching the internet.

Previously, we understood what Git is and what a Git commit is. In this blog, we will understand more about git.

Why Git uses DAG?

Each commit holds changes, will have Snapshot, Metadata, and the parent commit id. Each commit will be pointing to its parent.

Hence, there will be no way it can form a cyclic or forming a loop for commit history.

This will be in a Directed Acyclic Graph (DAG) structure.

The Graph created will have a history …

Similar Posts

Loading similar posts...