## 安装
npm install gitbook-cli -g
## 初始化
gitbook init
# 启动
gitbook serve
# 文档生成
gitbook build
# 访问
http://localhost:4000/
# gitbook使用
https://zhuanlan.zhihu.com/p/34946169# 下载git项目到本地
git clone git_url
# 查看git的分支
git branch
# 创建分支
git branch branch_name
# 切换分支
git checkout branch_name
git status
git diff
git add .
# 提交到本地库
git commit -m "description"
git pull origin master
# 把自己分支上改动的代码,合并到主分支上
git merge branch_name
# 提交到远程库
git push origin master
# 查看历史提交记录
git log