我是靠谱客的博主 执着夕阳,最近开发中收集的这篇文章主要介绍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 d命令报错:ERROR Deployer not found: git所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部