严格部署 在 Hexo 部署过程中,默认策略和严格同步策略(删除远程多余文件)的行为取决于使用的 deployer(部署插件),大部分的默认策略都是严格模式。 默认策略:保留远程多余文件示例:如果远程有 old-file.html 而本地 public/ 中没有,该文件会保留。 严格策略:删除远程多余文件如果需要远程目录完全匹配本地内容(删除多余文件),则使用严格模式。 以博客部署为例Git 部署 2025-04-18 #Blog
Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick 2025-04-12