写这篇文章的目的是因为好久没有更新我的博客而写的,由于更新的过程中遇到一些问题,所以下面整理了一些步骤,希望对一会之后的朋友少踩坑
重新构建你的博客之前记得在你的github仓库修改你的keyssh,下图所示
![](https://img.haomeiwen.com/i15863171/f202d2b0fee5d0fb.png)
遇到的问题:
不能推送资料:
kangs@DESKTOP-TJ06OQ5 MINGW64 /e/blog
$ hexo d
ERROR Deployer not found: git
如果你的问题不是上述问题就可能是这里:
![](https://img.haomeiwen.com/i15863171/5f85b1f3ca64caad.png)
解决方案
这是因为没安装hexo-deployer-git插件,在站点目录下输入下面的插件安装就好了:
npm install hexo-deployer-git --save
然后在使用Hexo d命令就可以推送
![](https://img.haomeiwen.com/i15863171/1b1253ab41f8fa84.png)
成功推送:
![](https://img.haomeiwen.com/i15863171/16c75d800aba7d89.png)
截图:
![](https://img.haomeiwen.com/i15863171/7ecadeb71156c4b2.png)
下面开始上传我以前的资料:
网友评论