A commit message should have the following format:
<Type>(<Scope>): <Message>
[...]
- Type: Describes the purpose of the commit.
- Scope: Specifies the module, component or area of the project affected by the commit (required if possible).
- Message: Provides a concise and clear description of the changes introduced by the commit.
Choose the appropriate type from the following list:
- feat: A new feature.
- fix: A bug fix.
- docs: Documentation changes.
- style: Code style changes (formatting, indentation).
- refactor: Code refactoring without changing its behavior.
- test: Adding or modifying tests.
- chore: Routine tasks, maintenance or tooling changes.
- Keep messages clear, concise and in the present tense.
- Use the imperative mood for the message.
- Limit the length of the first line to around 72 characters.
feat(auth): implement user registration
fix(api): resolve issue with incorrect response format
docs(readme): update installation instructions
style: improve code formatting
refactor(auth): improve user registration performance
test(auth): add unit tests for user authentication
chore(dependencies): update third-party libraries