OurBigBook
About
$
Donate
Sign in
+
Sign up
Why is Git a DAG?
ID: git-tips/why-is-git-a-dag
Top articles
Latest articles
+
New article in topic
Show body
Body
0
Why is Git a DAG?
by
Ciro Santilli
35
Updated
2025-04-18
+
Created
1970-01-01
Because
a
Git
commit can have more than
1
parent due to merge commits when you do:
git merge
It can even have more than
2
, there'
s
no limit. Although that is not so common (with
good
reason
,
2
is already one too many):
softwareengineering.stackexchange.com/questions/314215/can-a-git-commit-have-more-than-2-parents/377903#377903
Total
articles
:
1
New to
topics
?
Read the docs here!