问题

使用hexo dhexo deploy命令时报错:

ERROR Deployer not found: git

解决

安装hexo-deployer-git

npm install --save hexo-deployer-git

_config.yml配置中将deploytypegithub改为git

deploy
  type: git
  repository: git@github.com:YOUR_ID/YOUR_ID.github.io.git
  branch: master

将其中的YOUR_ID改成你自己的GitHub账号


YOLO