Guide

  • Published on
    合并多个提交是通过 Git 的 rebase 或 merge 命令实现的,尤其是当多个提交已经被推送到远程仓库时。使用 git rebase -i 来重写历史,合并多个提交为一个,避免修改公共历史,避免影响其他协作者。若已经推送,可以选择强制推送 (--force) 来更新远程仓库。
  • Published on
    MySQL 5.7.7 及以后版本不再默认包含数据目录,需要使用 --initialize 或 --initialize-insecure 初始化。安装 MySQL 为 Windows 服务可以通过命令 .\bin\mysqld.exe --install 实现,启动服务使用 sc start MySQL 或 net start MySQL。
  • Published on
    配置 Spring MVC 开发环境时,需引入 Spring、Thymeleaf、MyBatis 和 SLF4J。Spring MVC 负责处理请求和视图渲染,Thymeleaf 用于生成动态网页,MyBatis 简化数据库操作,SLF4J 进行日志管理。通过 Maven 或 Gradle 配置依赖,构建高效、可维护的 Web 应用。
  • Published on
    In this article we introduce adding images in the tailwind starter blog and the benefits and limitations of the next/image component.