hexo使用踩坑

找了很多资料,在deploy的时候不可以及时更新,先把问题放在这里,解决了再来回答

遇到不能deploy成功是:

  • 删掉根目录下的文件夹:.deploy_git,重新deploy就可以了。

hexo d后 ERROR Deployer not found: git

  • $ hexo d
    ERROR Deployer not found: git

npm install –save hexo-deployer-git
即可。