Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.44 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.44 KB

使用 GitHub Pages 快速发布

参阅 mdBook 官方安装文档

  • Mac 中 Git 安装与 GitHub 基本使用
  • 生成新的 SSH-key 并且添加到 ssh-agent
  • 每年需要更新下 token,个人用户 setting 中 dev 开发创建 token,并设置某个 repo 访问权限,然后 git clone 时使用 https,git push 提交时提示输入用户密码/密码 token
  • git push 报错 error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
    # 设置下 http 的 buffer,再次 push 即可
    git config http.postBuffer 524288000 or git config --global http.postBuffer 157286400
    git push or git push --all