Git dirctet acyclic graph - children know their parents but not the other way around

Posted by dayscott on Stack Overflow See other posts from Stack Overflow or by dayscott
Published on 2010-03-16T10:30:26Z Indexed on 2010/03/16 10:36 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

Git is implemented as a directed acyclic graph. Children know their parents but not the other way round. This makes sense because i can reach every commit only through a branch or a tag ( generally speaking through a reference). That's how i traverse the tree. What other reasons had the developers of Git to make "the children know their parents but not the other way around"?/ What are the key benefits of this?

© Stack Overflow or respective owner

Related posts about git

Related posts about theory