1. 程式人生 > >搭建個人部落格hexo+github遇到的坑

搭建個人部落格hexo+github遇到的坑

一、初始化hexo init坑

如圖,hexo init初始化的時候,報錯。

解決方法:

1、hexo init <新資料夾的名字>   注意:不要先建立資料夾,要使用hexo建立資料夾。

2、cd  <新資料夾的名字>

3、hexo setup

二、從githup上pull或者clone時,報錯:

fatal: The remote end hung up unexpectedly

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

解決:git config --global http.postBuffer 524288000

完。