从Github获取日志并更新hexo 发表于 2019-07-13 分类于 hexo 评论数: 自用更新脚本12345678#!/bin/shrm -rf ~/github-note-tempmkdir ~/github-note-tempcd ~/github-note-tempgit clone git@github.com:ilpl/note.git . #拉去到当前目录cp -rf *?/* ~/blog/source/_posts/ # 去掉一层目录cd ~/bloghexo clean && hexo g -d 本文作者: iLPL 本文链接: https://ilpl.me/2019/07/13/update-hexo-for-github/ 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!