我是靠谱客的博主 执着夕阳,这篇文章主要介绍hexo d命令报错:ERROR Deployer not found: git,现在分享给大家,希望可以做个参考。

问题

使用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账号

最后

以上就是执着夕阳最近收集整理的关于hexo d命令报错:ERROR Deployer not found: git的全部内容,更多相关hexo内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(64)

评论列表共有 0 条评论

立即
投稿
返回
顶部