使用 gitbook 制作 pdf 电子书

安装gitbook

  1. 安装 node.js

  2. 安装 gitbook

  3. 安装 Calibre

  4. 终端输入:

    ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin
    
  5. 制作 pdf 电子书

过程详解

  • 安装 node.js
    • 官网
    • git clone
  • 终端输入:npm -v 查看是否安装成功
  • 终端输入: npm install gitbook-cli -g
    • 是 cli 不是 cil
  • 终端输入: gitbook -V 查看是否安装成功
    • 是 -V 不是 -v
  • 终端进入gitbook项目所在位置
  • 终端输入:gitbook pdf .
    • 有个 ”. “ //代表当前目录
Paperback: 273 pages Publisher: Packt Publishing - ebooks Account (August 25, 2014) Language: English ISBN-10: 1782168451 ISBN-13: 978-1782168454 Key Features Filled with practical recipes that will teach you how to use the most advanced features of the Git system Improve your productivity by learning to work faster, more efficiently, and with more confidence Discover tips and tricks that will show you when and how to use the advanced features of Git Book Description Starting with the Git data model, you will learn how Git stores files and how it looks at commits. You will then learn how you can recover from mistakes; from committing on the wrong branch to recovering lost commits/files. Next, you will discover how you can force rebase on some branches and use regular Git merge on other branches. You will also learn how to extract information from the repository. As you progress through this book, you will learn how you can automate the usual Git processes by utilizing the hook system built into Git. The book also covers advanced repository management, including different options to rewrite the history of a Git repository. Finally, you will discover how you can work offline with Git, how to track what is going on behind the scenes, and how to use the stash for different purposes. What you will learn Understand the Git data model and how you can navigate the database with simple commands Learn how you can recover lost commits/files Discover how you can force rebase on some branches and use regular Git merge on other branches Extract metadata from a Git repository Familiarize yourself with Git notes Discover how you can work offline with Git Debug with Git and use various techniques to find the faulty commit
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值