“I have found the Pro Git book to be the best:”
Pro Git
从日常用法到内部原理的 Git 官方教程
Pro Git 由 Scott Chacon 和 Ben Straub 撰写,是 Git 官网上的免费书。它先讲基本操作、分支和远程协作,再讲各种工作流和工具,并用附录解释 Git 内部如何存储数据。和命令速查类文档相比,它既教怎么用,也讲为什么这样设计,读完能真正理解 Git 的模型。
HN 上的人遇到有人问怎么学 Git,常会推荐它,理由是讲得透彻、免费,能解释 Git 究竟如何工作;不少人说读完内部原理部分之后,Git 才真正想通了。
用过 Git 但没弄懂原理的开发者,以及新手
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先读基础和分支章节,边读边在终端里实际操作
- 2想弄懂原理,再读讲内部机制的章节和附录
- 3平时遇到具体问题,把它当作查阅手册
- 4和 man 手册配合着读,查命令细节
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“This guide should be binned in favor of EdgeCase's Git Immersion ((链接)) and Scott Chacon's Pro Git.”
“If you like it and need some more go and read Pro Git... I've learned a lot in this online book.”
“For a more in-depth guide, check out the Pro Git book @ Pro Git. You can read it online for free.”
“Pro Git does a really good job of explaining everything you need to know about git without trying to do it really quickly.”
“Have you considered reading the Pro Git book? Pro Git”
看全部 20 条 →
“Read ProGit: Pro Git”
“There's always the git book. Pro Git”
“Some reading: Pro Git:)”
“A really good, low level explanation, of git is here”
“Pro Git is a nice summary and the manpage also gives some sample workflows.”
“I will leave with links to a few resources I found useful:”
“If you want to find out what you're missing: Pro Git”
“Either read the Pro Git book[2] or pop the hood[3].”
“I buckled down and read through pro git (available at Pro Git for free), the user guide ((链接)), and the man pages of the commands I was using. One day it just clicked”
“FWIW, this is what made git really click for me: Pro Git”
“If you need to learn git, check out Scott Chacon's excellent Pro Git, available for free online at: Pro Git”
“I found the git book to be more than adequate enough for explaining the structures and practice patterns of git.”
“If we're recommending books on Git, I recommend Pro Git. It's free online.”
“I'd say shamelessly copied from the much better article from here:”