This project follows Conventional Commits to standardize commit messages.
<type>[optional scope]: <description>
[optional body]
[optional footer]
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testsbuild: Changes that affect the build system or external dependenciesci: Changes to CI configuration files and scriptschore: Other changes that don't modify src or test filesrevert: Reverts a previous commit
feat: add user registration
fix: resolve login validation failure
docs: update README file
refactor: restructure authentication module
test: add unit tests for user service
feat(auth): implement social login
fix(database): resolve database connection timeout
Add retry logic and timeout handling to prevent connection failures in unstable networks.
Fixes issue #123.
Before committing, the system automatically checks if your commit message follows the convention. If it doesn't, the commit will be rejected, and you'll need to modify the message before trying again.
本项目使用 Conventional Commits 规范来标准化提交信息。
<类型>[可选的作用域]: <描述>
[可选的正文]
[可选的脚注]
feat: 新功能fix: 修复bugdocs: 文档变更style: 代码风格变更(不影响代码运行的变动)refactor: 代码重构(既不是新增功能,也不是修改bug的代码变动)perf: 性能优化test: 增加测试build: 构建过程或辅助工具的变动ci: 持续集成相关文件和脚本的改动chore: 其它修改(不在上述类型中的修改)revert: 回滚到上一个版本
feat: 添加用户注册功能
fix: 修复登录验证失败的问题
docs: 更新README文件
refactor: 重构认证模块
test: 为用户服务添加单元测试
feat(auth): 添加社交登录功能
fix(database): 修复数据库连接超时问题
增加重试逻辑和超时处理,防止在网络不稳定情况下的连接失败。
修复问题 #123。
提交前,系统会自动检查您的提交信息是否符合规范。 如果不符合规范,提交将被拒绝,您需要修改提交信息后重新提交。