Evilrabbit

好的 git commit 会让 git log 像历史书,可以看到项目发展历程,这里介绍一下好的 git commit message 长什么样,好的 commit 有意义,独立,完整。

好的 git commit message 会包含,类型(作用域): 主题 正文。

git commit -m "feat(refactor): Refactor the system and enhance code readability and fix incremental backup capabilities.

Refactoring:
- Split into modular components (BackupManager/FileUtils/ParameterManagement)
- Implement object-oriented design
- Optimize the code organization structure

What's new:
- SHA256 file content verification
- Get the time of cross-platform file creation
- Improved metadata handling logic
- Enhanced user interface
- The version is updated to 1.1.0

Significant changes:
- The project structure was changed to a multi-file modular design
- Added OpenSSL dependency

Fixed an issue where incremental backups failed:
- Serious problems exist in the incremental backup logic, which is fixed in V1.1.0. Incremental backup could not be adapted to the backup logic when the destination directory is empty or the metafile is empty (fixed).
"

以下是类型说明:

类型 说明
feat 新功能
fix 修复 Bug
refactor 重构,不新增功能也不修 Bug
docs 改文档
style 改代码风格,不影响功能
test 加测试,改测试
chore 杂项,比如改构建脚本,改 .gitignore 等
perf 性能优化
ci CI/CD 相关改动
build 改构建系统或依赖
revert 回滚某个提交
Evilrabbit

最近有很多想看的书,Z-Library 保存备用,有需要的朋友自取。

zlibrary最新镜像地址:https://zh.z-lib.today

zlibrary最新镜像地址:https://zh.z-lib.life/

zlibrary最新官网地址:https://zh.z-library.sk (需梯)

zlibrary最新官网地址:https://zh.z-lib.gd/ (需梯)

还是建议大家购买正版书籍,支持正版支持作者,如果拿不准,可以先在这里预览书籍,喜欢再购买!

Evilrabbit

今天修复好了评论组件,新增了 Talk 页面,以后会在这里发布说说啦!