hexo博客更新主题后上传Git操作

 

克隆主题: 

git clone https://github.com/SuperKieran/TKL.git

_config.yml文件中主题改为新增主题

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: TKL

进入主题目录,更新git

cd theme/TKL
git pull

执行更新

hexo clean
hexo generate
hexo deploy

 

hexo d后 ERROR Deployer not found: git

npm install --save hexo-deployer-git

 

posted @ 2019-03-08 21:16  Niuli'blog  阅读(318)  评论(0编辑  收藏  举报