Git Commit Types

  • feat: Creates a new feature

  • fix: Fixes a previously discovered failure/bug

  • chore: changes that do not relate to a fix or feature and don't modify src or test files (for example updating dependencies)

  • docs: Changes which exclusively affects documentation

  • refactor: Refactor without any change in functionality or API (includes style changes)

  • perf: Improves performance without any change in functionality or API

  • style: changes that do not affect the meaning of the code, likely related to code formatting such as white-space, missing semi-colons, and so on.

  • test: Improvements or corrections made to the project's test suite

  • build: Changes to local repository build system and tooling

  • ci: Changes to CI configuration and CI specific tooling

  • release: A release point in the repository

  • revert: reverts a previous commit

Source: Angular contribution documentation on GitHub
Source: How to Write Better Git Commit Messages – A Step-By-Step Guide
Must Read: How to Write a Git Commit Message


You'll only receive email when they publish something new.

More from Hammad
All posts