阅读461 返回首页    go 阿里云 go 技术社区[云栖]


《Git版本控制管理(第2版)》——1.4 时间线

本节书摘来自异步社区《Git版本控制管理(第2版)》一书中的第1章,第1.4节,作者:【美】Jon Loeliger , Matthew McCullough着,更多章节内容可以访问云栖社区“异步社区”公众号查看

1.4 时间线

有了应用场景,有了一点额外的动力,再加上对新VCS的需求迫在眉睫,Git于2005年4月诞生了。

4月7日,Git从以下提交起,正式成为自托管项目。

commit e83c5163316f89bfbde7d9ab23ca2e25604af29
Author: Linus Torvalds <torvalds@ppc970.osdl.org>
Date:   Thu Apr 7 15:13:13 2005 –0700

Initial revision of "git", the information manager from hell

不久之后,Linux内核的第一个提交也诞生了。

commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Author: Linus Torvalds <torvalds@ppc970.osdl.org>
Date:   Sat Apr 16 15:20:36 2005 –0700

Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!

这一次提交将整个Linux内核导入Git版本库中④。这次提交的统计信息如下:

17291 files changed, 6718755 insertions(+), 0 deletions(-)
是的,这次提交足足引入了670万行代码!

仅仅过了3个小时,Linux内核第一次用Git打上了补丁。Linus在2005年4月20日向Linux内核邮件列表正式宣布,用上Git了!

Linus非常清楚自己想回到Linux内核的开发中去,所以,在2005年7月25日,Linus将Git代码维护工作交接给Junio Hamano。并声称,Junio是显而易见的选择。

大概两个月以后,版本号为2.6.12的Linux内核正式发布,所用VCS正是Git。

最后更新:2017-06-01 17:01:35

  上一篇:go  网站优化的3个seo小技巧
  下一篇:go  《Git版本控制管理(第2版)》——1.3 先例