Git is implemented as a directed acyclic graph. Children know their parents, but not vice versa. This makes sense because I can achieve each commit only through a branch or tag (generally speaking, through a link). This is how I cross a tree. What other reasons were the developers of Git so that โchildren know their parents, but not vice versaโ? / What are the main advantages of this?
The main advantage is that the corrected incorrect version will never be changed again. If you update it to include children, you must rewrite it. This will ruin the hash codes used for identification and integrity.
Source: https://habr.com/ru/post/1304245/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1304240/need-to-upload-files-to-google-docs-from-my-application-and-store-reference-to-the-uploaded-file&usg=ALkJrhgnYPzba9QtnEc3E0H-WDuj7XFnTwhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1304241/confused-about-linq-to-sql-and-repositories&usg=ALkJrhiwERferiQd9Nje7ppA_lX_aMiOGwDetermine which table occupies most of the disk space in MySQL - mysqlGrails: a problem with nested associations in the criteria builder - hibernateSQL Server 05, which is optimal, LIKE% % or CONTAINS () to search for a large column - sqlWhat IDE settings and workflow are used to develop OSGi? - eclipseRemember me problem in Spring Security - spring-securityHow can you make copyright text in the cover of Google Maps when the map is small? - javascriptDo I need a paid version of Visual Studio for development for Windows Phone 7 Series? - visual-studio-2010Many ascx.cs ascx-to-one errors in VS2008 - asp.netAll Articles