Changes that affect the build system or external dependencies (e.g., npm, make).
bash Copy code
git commit -m "build: update build configuration"
Routine tasks, maintenance, or housekeeping chores that are not related to the production code (e.g., updating tasks, tools).
bash Copy code
git commit -m "chore: clean up unused files"
Changes to the continuous integration (CI) configuration and scripts.
bash Copy code
git commit -m "ci: configure Travis CI for automated builds"
Documentation changes, including both code comments and documentation files.
bash Copy code
git commit -m "docs: update README with usage instructions"
A new feature introduced to the codebase.
bash Copy code
git commit -m "feat: add user authentication feature"
A bug fix in the code.
bash Copy code
git commit -m "fix: resolve issue with user login"
Performance improvements or optimizations in the code.
bash Copy code
git commit -m "perf: optimize rendering for faster page loads"
Code changes that neither fix a bug nor add a feature, typically restructuring or cleaning up code.
bash Copy code
git commit -m "refactor: simplify function implementation"
Reverting a previous commit.
bash Copy code
git commit -m "revert: revert changes made in commit abc123"
Code style changes (e.g., formatting, indentation) that do not affect the logic.
bash Copy code
git commit -m "style: format code according to style guide"
Adding or modifying tests.
bash Copy code
git commit -m "test: add unit tests for authentication module"