我需要阅读什么才能理解git是如何工作的?

时间:2022-11-11 01:42:27

I would like to understand the way git works from a architects point of view. How are files stored, how are versions kept and how do changes happen (branches, merges, etc.)?

我想从架构师的角度理解git的工作方式。如何存储文件,如何保存版本以及如何进行更改(分支,合并等)?

I am not searching for information how to use it. (I already found a lot of pages with tutorials.) But I did not find any "behind the scenes" details, that would make me understand.

我不是在搜索如何使用它的信息。 (我已经找到很多带有教程的页面。)但是我没有找到任何“幕后”细节,这会让我理解。

15 个解决方案

#1


35  

http://eagain.net/articles/git-for-computer-scientists/

http://www.loria.fr/~molli/pmwiki/uploads/Main/gitmanual.pdf Chap 7

http://www.loria.fr/~molli/pmwiki/uploads/Main/gitmanual.pdf第7章

Git From the Bottom Up

Git从下到上

#2


15  

For me, the following three resources were very, very helpful, in this order:

对我来说,以下三个资源按以下顺序非常非常有用:

  1. The Thing About Git explained why I should even care

    关于Git的事情解释了为什么我应该关心

  2. Git Magic explained how to get started

    Git Magic解释了如何开始

  3. Git The Basics [pdf] explained - graphically, and in detail - what happens when I add, remove, merge, etc.

    Git The Basics [pdf]以图形方式详细解释了当我添加,删除,合并等时会发生什么。

#3


5  

The Git Internals ebook has already been mentioned. I will point out that its author, Scott Chacon, gave a fantastic presentation about git at RailsConf 2008 that covers much the same ground as the book.

已经提到了Git Internals电子书。我将指出它的作者Scott Chacon在RailsConf 2008上做了一个关于git的精彩演讲,它与本书的内容基本相同。

Said Scott now maintains http://git-scm.com/, which includes the Git community book, which is more of a usage tutorial than a technical description, but does include both a nice conceptual overview of the git data model in the introductory chapter and a detailed one in its closing chapter.

Scott现在维护http://git-scm.com/,其中包括Git社区书籍,这本书更多的是使用教程,而不是技术描述,但确实包含了介绍中git数据模型的一个很好的概念性概述。章节和最后一章中的详细内容。

#4


3  

The US$9 100+ page PDF book from PeepCode called Git Internals is fantastic. It's well written, uses great, clear visuals and is also a quick read. I absorbed as much free online material as I could but this book put me over the top.

来自PeepCode的名为Git Internals的9 100多页PDF书籍非常棒。它写得很好,使用了很棒的,清晰的视觉效果,也是一个快速阅读。我尽可能多地吸收免费的在线资料,但这本书让我超越了顶峰。

#5


3  

To understand how git works you need to read Pro Git book, fully available online for free.

要了解git如何工作,您需要阅读Pro Git书籍,完全免费在线提供。

Written by Scott Chacon, one of the guys behind GitHub.

由GitHub背后的人之一Scott Chacon撰写。

I wrote my opinion about the book in a review at Amazon.

我在亚马逊的评论中写了我对这本书的看法。

#6


3  

Assume we are living in a pre git era. And you want to write a version control system which is fast and better than the existing vcs. All you need is a great idea. At that moment of time the below article would be of much help.

假设我们生活在一个前git时代。而且你想要编写一个比现有的vcs更快更好的版本控制系统。你需要的只是一个好主意。在那个时刻,下面的文章会有很大的帮助。

http://tom.preston-werner.com/2009/05/19/the-git-parable.html

#7


2  

There's a good Google tech talk: Linus Torvalds on git

有一个很好的Google技术讲座:Linus Torvalds on git

OK, it's not something to read but it does cover some of the Git internals and design philosophy.

好吧,这不是要阅读的东西,但它确实涵盖了一些Git内部和设计理念。

#8


2  

I found these pages useful :

我发现这些页面很有用:

#9


2  

I found this site when I googled "git architecture": http://speirs.org/2007/07/19/a-subversion-user-looks-at-git

当我用Google搜索“git architecture”时,我找到了这个网站:http://speirs.org/2007/07/19/a-subversion-user-looks-at-git

Git has a mailing list: "majordomo@vger.kernel.org&body=subscribe%20git" (http://git.or.cz/#community)

Git有一个邮件列表:“majordomo@vger.kernel.org&body=subscribe%20git”(http://git.or.cz/#community)

And this wikipedia article may be helpful: http://en.wikipedia.org/wiki/Git_(software)

这篇*文章可能会有所帮助:http://en.wikipedia.org/wiki/Git_(software)

#10


1  

The git source code. :-)

git源代码。 :-)

#11


1  

Wikipedia might get you started.

*可能会让你入门。

I do remember encountering some documents describing some of the internal architecture, so I know that they are out there. I just can't remember where they were...

我确实记得遇到一些描述一些内部架构的文档,所以我知道它们就在那里。我只是不记得他们在哪里......

#12


1  

One day I actually sat down and read the entire Git User's Manual. Turned out to be a good idea -- the manual is very helpful, explains a lot, and is quite clear and provides useful examples.

有一天,我真的坐下来阅读整个Git用户手册。结果是一个好主意 - 手册非常有用,解释了很多,并且非常清楚并提供了有用的示例。

#13


1  

This talk by Randal Schwartz gave me a pretty good overview.

兰德尔施瓦茨的这次演讲给了我很好的概述。

#14


0  

I've found the Git User Manual to be very enlightening.

我发现Git用户手册非常具有启发性。

#15


0  

There are some interesting documents on the Documentation/technical directory of the git source code.

git源代码的Documentation / technical目录中有一些有趣的文档。

#1


35  

http://eagain.net/articles/git-for-computer-scientists/

http://www.loria.fr/~molli/pmwiki/uploads/Main/gitmanual.pdf Chap 7

http://www.loria.fr/~molli/pmwiki/uploads/Main/gitmanual.pdf第7章

Git From the Bottom Up

Git从下到上

#2


15  

For me, the following three resources were very, very helpful, in this order:

对我来说,以下三个资源按以下顺序非常非常有用:

  1. The Thing About Git explained why I should even care

    关于Git的事情解释了为什么我应该关心

  2. Git Magic explained how to get started

    Git Magic解释了如何开始

  3. Git The Basics [pdf] explained - graphically, and in detail - what happens when I add, remove, merge, etc.

    Git The Basics [pdf]以图形方式详细解释了当我添加,删除,合并等时会发生什么。

#3


5  

The Git Internals ebook has already been mentioned. I will point out that its author, Scott Chacon, gave a fantastic presentation about git at RailsConf 2008 that covers much the same ground as the book.

已经提到了Git Internals电子书。我将指出它的作者Scott Chacon在RailsConf 2008上做了一个关于git的精彩演讲,它与本书的内容基本相同。

Said Scott now maintains http://git-scm.com/, which includes the Git community book, which is more of a usage tutorial than a technical description, but does include both a nice conceptual overview of the git data model in the introductory chapter and a detailed one in its closing chapter.

Scott现在维护http://git-scm.com/,其中包括Git社区书籍,这本书更多的是使用教程,而不是技术描述,但确实包含了介绍中git数据模型的一个很好的概念性概述。章节和最后一章中的详细内容。

#4


3  

The US$9 100+ page PDF book from PeepCode called Git Internals is fantastic. It's well written, uses great, clear visuals and is also a quick read. I absorbed as much free online material as I could but this book put me over the top.

来自PeepCode的名为Git Internals的9 100多页PDF书籍非常棒。它写得很好,使用了很棒的,清晰的视觉效果,也是一个快速阅读。我尽可能多地吸收免费的在线资料,但这本书让我超越了顶峰。

#5


3  

To understand how git works you need to read Pro Git book, fully available online for free.

要了解git如何工作,您需要阅读Pro Git书籍,完全免费在线提供。

Written by Scott Chacon, one of the guys behind GitHub.

由GitHub背后的人之一Scott Chacon撰写。

I wrote my opinion about the book in a review at Amazon.

我在亚马逊的评论中写了我对这本书的看法。

#6


3  

Assume we are living in a pre git era. And you want to write a version control system which is fast and better than the existing vcs. All you need is a great idea. At that moment of time the below article would be of much help.

假设我们生活在一个前git时代。而且你想要编写一个比现有的vcs更快更好的版本控制系统。你需要的只是一个好主意。在那个时刻,下面的文章会有很大的帮助。

http://tom.preston-werner.com/2009/05/19/the-git-parable.html

#7


2  

There's a good Google tech talk: Linus Torvalds on git

有一个很好的Google技术讲座:Linus Torvalds on git

OK, it's not something to read but it does cover some of the Git internals and design philosophy.

好吧,这不是要阅读的东西,但它确实涵盖了一些Git内部和设计理念。

#8


2  

I found these pages useful :

我发现这些页面很有用:

#9


2  

I found this site when I googled "git architecture": http://speirs.org/2007/07/19/a-subversion-user-looks-at-git

当我用Google搜索“git architecture”时,我找到了这个网站:http://speirs.org/2007/07/19/a-subversion-user-looks-at-git

Git has a mailing list: "majordomo@vger.kernel.org&body=subscribe%20git" (http://git.or.cz/#community)

Git有一个邮件列表:“majordomo@vger.kernel.org&body=subscribe%20git”(http://git.or.cz/#community)

And this wikipedia article may be helpful: http://en.wikipedia.org/wiki/Git_(software)

这篇*文章可能会有所帮助:http://en.wikipedia.org/wiki/Git_(software)

#10


1  

The git source code. :-)

git源代码。 :-)

#11


1  

Wikipedia might get you started.

*可能会让你入门。

I do remember encountering some documents describing some of the internal architecture, so I know that they are out there. I just can't remember where they were...

我确实记得遇到一些描述一些内部架构的文档,所以我知道它们就在那里。我只是不记得他们在哪里......

#12


1  

One day I actually sat down and read the entire Git User's Manual. Turned out to be a good idea -- the manual is very helpful, explains a lot, and is quite clear and provides useful examples.

有一天,我真的坐下来阅读整个Git用户手册。结果是一个好主意 - 手册非常有用,解释了很多,并且非常清楚并提供了有用的示例。

#13


1  

This talk by Randal Schwartz gave me a pretty good overview.

兰德尔施瓦茨的这次演讲给了我很好的概述。

#14


0  

I've found the Git User Manual to be very enlightening.

我发现Git用户手册非常具有启发性。

#15


0  

There are some interesting documents on the Documentation/technical directory of the git source code.

git源代码的Documentation / technical目录中有一些有趣的文档。