Here's your content formatted correctly for Markdown:
<type>(<scope>): <short description>
<body>
<footer>-
<type>: Specifies the category of the changefeat: A new featurefix: A bug fixdocs: Documentation updatesstyle: Code style changes (formatting, whitespace, etc.)refactor: Code restructuring without changing functionalityperf: Performance improvementstest: Adding or modifying testschore: Changes to build process, CI/CD, or maintenance
-
<scope>(optional): The module or component affected- Example:
feat(auth),fix(ui),docs(readme)
- Example:
-
<short description>: Brief summary (≤ 50 characters)- Written in present tense (e.g., "fix button alignment")
- No period (
.) at the end
-
<body>(optional): Detailed explanation of the change- Uses imperative mood (e.g., "Change function logic")
- Explains what, why, and how the change was made
-
<footer>(optional): Extra metadata like breaking changes or issue references- Example:
BREAKING CHANGE: Removes deprecated API Fixes #123 / Closes #456
- Example:
✅ Feature Addition
git commit -m "feat(auth): add JWT authentication support"✅ Bug Fix
git commit -m "fix(ui): resolve button alignment issue"✅ Documentation Update
git commit -m "docs(readme): update installation instructions"✅ Code Refactoring
git commit -m "refactor(db): optimize query execution for better performance"✅ Breaking Change
git commit -m "feat(api): remove deprecated endpoints
BREAKING CHANGE: The /v1/users endpoint has been removed. Please use /v2/users instead for fetching user data."✔ Keep the first line ≤ 50 characters
✔ Wrap body lines to ≤ 72 characters
✔ Use imperative mood (e.g., "Add feature" instead of "Added feature")
✔ Reference issues (e.g., "Fixes #42")
✔ Be clear and concise
Now it will be properly formatted in Markdown! 🚀