DEV Community

Cover image for WEEK1: GIT Conventional Commit

Posted on

WEEK1: GIT Conventional Commit

This will provide a set of rule to make your commit easier to read

To summarize:

  1. feat - use when a new feature is added
  2. fix - fix a bug
  3. refactor - rewrite/restructure code (no behavior changes)
  4. perf - improve performance
  5. style - style of the file eg. white spaces, formatting, semicolon
  6. test - add test or update test
  7. docs - format the document not code
  8. build - build component eg. project version, dependencies
  9. ops - infrastructure
  10. chore - other miscellaneous commits eg. update .gitignore


  • Use present tense
  • Don't capitalize the first letter
  • No dot at the end


docs: correct spelling of CHANGELOG
Enter fullscreen mode Exit fullscreen mode

Can also add scope like this

feat(lang): add polish language
Enter fullscreen mode Exit fullscreen mode

Top comments (0)