Problem description
I have written in the site configuration file:
deploy:
type: git
repo: [email protected]:lanlan2017/lanlan2017.github.io.git # Github pages地址
branch: master
However, hexo d
error:
ERROR Deployer not found: git
Solution
This is because the hexo deployer git </ code> plug-in is not installed. Just enter the following plug-in under the site directory to install it:
npm install hexo-deployer-git --save
Then you can use the hexo - d
command to push.