hexo d 命令出错或不生效

版权声明: https://blog.csdn.net/sudo0m/article/details/85528980

#0x00

就在今天我正打算换一下github的头像,然后输入了hexo d 这个命令报错信息

Img

The file will have its original line endings in your working directory
On branch master
nothing to commit, working tree clean
Branch 'master' set up to track remote branch 'master' from '[email protected]:sudo0m/sudo0m.github.io.git'.
Everything up-to-date
INFO  Deploy done: git

#0x01

清除缓存文件 (db.json) 和已生成的静态文件 (public)然后生成静态文件 部署网站

hexo clean     	//在某些情况(尤其是更换主题后),如果发现您对站点的更改无论如何也不生效,您可能需要运行该命令
hexo g
hexo d

猜你喜欢

转载自blog.csdn.net/sudo0m/article/details/85528980