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

 

转载于:https://www.cnblogs.com/niuli1987/p/10498321.html