Trying to learn about SCM history / revision / restoration algorithms, especially GIT

I'm trying to compute resources on how version control algorithms work with data, and I'm especially interested in the way the git mechanism works. I understand that git does a lot of different things, but in particular I'm interested in the history of saving and restoring history. I would appreciate any links or links to articles that anyone can point me to. thank:)

+3
source share
5 answers

If you know how to use git and what it does, but you are curious how, then go to the gitcore-tutorial to start it shows what objects are stored in the git repository, how it stores the next versions, what is a revision and how to do it manually, how revisions are connected, etc.

This presentation is also useful in terms of how it all works. It was created by a git-scm supporter and one of github , so he knows what he is talking about.

+5
source

Pro Git has a chapter on internal components that can be useful.

http://progit.org/book/ch9-0.html

, . pack pack, .

, , - , afaik, . , .

+3

() Git . Git , , .

​​ , ( ) (), , info , . , , parent commit. , ( /), , ( ), / commit. tip tip, ( ) HEAD, , .

DAG (Directed Acyclic Graph) , ​​ , ( ).


, :

+3

,

+2

If you are interested in mercurial, Mercurial is a great resource . Matt McCall's original paper at OLS is good too.

+1
source

Source: https://habr.com/ru/post/1725053/


All Articles