Git 提交规范之 commit 标题
用于说明 commit 的类别,只允许使用以下标识
commit 的简短描述,一般来说不超过 50 个字符
feat (新功能)
feat(search): Implement full-text search using Elasticsearch
feat(payment): Integrate Stripe for processing payments
feat(sharing): Add social media sharing buttons to product pages
feat(localization): Support multi-language content
fix (修复问题)
fix(memory-leak): Patch memory leak observed in image processing
fix(security): Sanitize user input to prevent SQL injection
fix(crash): Resolve app crash related to zero-length data parsing
fix(ui-render): Fix broken layout on mobile devices in landscape mode
docs (文档改动)
docs(installation): Revise steps to clarify the setup process
docs(contributing): Update contribution guidelines to include code review practices
docs(faq): Expand the FAQ section to cover newly reported issues
docs(license): Correct the copyright year in license documentation
style (格式调整)
style(sass): Convert CSS files to Sass for easier maintenance
style(indentation): Normalize indentation across all JavaScript files
style(variable-naming): Refactor to follow camelCase naming convention
refactor (代码重构)
refactor(auth-module): Decouple authentication from user management
refactor(api-responses): Standardize API responses to use a common format
refactor(logging): Enhance logging mechanism for better scalability
refactor(component-split): Break down the monolithic MainPage component into smaller units
test (测试相关)
test(deployment): Add pre-deployment smoke tests to the pipeline
test(performance): Implement new benchmarks for recent optimizations
test(accessibility): Conduct accessibility audits and address issues
test(integration): Increase coverage for integration testing between modules
chore (杂项)
chore(update-framework): Update frontend framework to latest stable version
chore(cleanup-deps): Remove unused dependencies to reduce build size
chore(data-migration): Script data migration for next database schema update
chore(ci-config): Modify CI configuration to include new test suites