使用
方式一
1 | git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia |
方式二: submodule(推荐)
1 | git submodule add https://github.com/litten/hexo-theme-yilia.git themes/yilia |
保持主题更新
- 进入要更新的主题目录,一般在项目目录的
themes/<theme_name>
1 | cd themes/landscape |
- 回到Hexo根目录,使用git提交主题更新
1 | cd ../.. |