No description, website, or topics provided.
Clone or download
wangfpp and networm Update history.asc
词语使用错误
Latest commit 34f2841 Sep 11, 2018
Permalink
Failed to load latest commit information.
book Update history.asc Sep 11, 2018
callouts adding callout icons to top-level of repo, and pdf oneoff xsl handlin… Oct 8, 2014
diagram-source Sync prgit.sketch Aug 17, 2015
images Rework file structure for asciidoctor toolchain Feb 19, 2018
theme Revert "Copy original atlas theme and change font to "Source Han Sans"" Aug 18, 2015
.gitignore Rework file structure for asciidoctor toolchain Feb 19, 2018
.travis.yml Add management of versions Feb 20, 2018
A-git-in-other-environments.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
B-embedding-git.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
C-git-commands.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
CONTRIBUTING.md [typo] Change a character. (#314) May 8, 2016
Gemfile Apply new Rakefile May 10, 2018
Gemfile.lock Update Rakefile Feb 19, 2018
LICENSE.asc Sync README and LICENSE Aug 17, 2015
README.asc Add build status Feb 19, 2018
Rakefile Apply new Rakefile May 10, 2018
TRANSLATION_NOTES.asc 将 dangling 翻译由"摇摆","漂流"译为"悬空" Oct 17, 2016
ch01-introduction.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch02-git-basics.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch03-git-branching.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch04-git-server.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch05-distributed-git.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch06-github.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch07-git-tools.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch08-customizing-git.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch09-git-and-other-scms.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
ch10-git-internals.asc Rework file structure for asciidoctor toolchain Feb 19, 2018
config.rb Remove trailing whitespace Oct 17, 2015
index.asc 修正 Index 为 索引 Feb 20, 2018
progit.asc Add management of versions Feb 20, 2018
status.json Remove 07-git-tools notes Aug 17, 2015

README.asc

progit2 zh

Pro Git,第二版,简体中文

欢迎阅读 Pro Git 第二版。

你可以在以下地址找到本书的在线版本: http://git-scm.com/book

与第一版类似,Pro Git 第二版以知识共享协议开源。

自第一版开源以来,许多事情都发生了变化。 其一,我们将本书的文本由 Markdown 迁移至 Asciidoc。 同时,我们还开始使用 O’Reilly 的 Atlas平台 持续构建生成本书,因此,所有主要格式在每种语言都是可用的。

我们还在独立的仓库中进行翻译,而不是在英文仓库的子目录中。 查看 贡献文档 了解更多信息。

如何生成本书

有两种办法可以通过这份源代码生成电子书。

最简单的办法是让我们去做这个工作。 我们有一个机器人时刻准备着,寻找主分支上的新工作,为每个人自动构建。

你可以在 http://git-scm.com/book 找到当前构建,关于构建可用的详情请见 https://progit.org

另一个生成电子书文件的方法是使用 Asciidoctor 手动完成。 如果你运行下面的命令,你 可能 实际上获得 HTML、Epub、Mobi 和 PDF 输出文件:

$ bundle install
$ asciidoctor-pdf-cjk-kai_gen_gothic-install
$ bundle exec rake book:build
Converting to HTML...
 -- HTML output at progit.html
Converting to EPub...
 -- Epub output at progit.epub
Converting to Mobi (kf8)...
 -- Mobi output at progit.mobi
Converting to PDF...
 -- PDF  output at progit.pdf

这些命令使用了 asciidoctorasciidoctor-pdfasciidoctor-epub 项目。

贡献

如果你想要帮助修改或者贡献翻译,查看 贡献者指南