Skip to content

Commit Message Guidelines

Rueben van der Westhuizen edited this page Jun 2, 2024 · 3 revisions

Commit Message Guidelines

General Messages

  • πŸ“„ Generic message πŸ“„
  • ❓ Ask a question ❓ [HELP]:
  • πŸ”° Tested it out! πŸ”° [TEST]:
  • 🚧 Work in progress 🚧 [NEED]:
  • πŸ”¨ Linting [parser]:

Improvements

  • πŸ“ Improve the format/structure of the code/files πŸ“ [IMPROVE]:
  • ⚑ Improve performance ⚑ [IMPROVE]:
  • πŸš€ Improve something (anything) πŸš€ [IMPROVE]:
  • πŸ†• Critical changes πŸ†• [IMPROVE]:

Documentation

  • πŸ“ Write docs πŸ“ [PROD]:

Features

  • πŸ’‘ New idea πŸ’‘
  • πŸŽ‰ New feature πŸŽ‰ [FEATURE]:
  • βž– Remove a feature βž– [FEATURE]:

Code and Files

  • πŸ”– Add new code/file(s) πŸ”– [FILE]:
  • πŸ”₯ Remove code/file(s) πŸ”₯ [FILE]:
  • ✏️ Rename/move a file(s)/folder(s) ✏️ [FILE]:

Production

  • πŸ“’ Add logging πŸ“’ [PROD]:
  • πŸ”‡ Reduce logging πŸ”‡ [PROD]:
  • 🌍 Deploy 🌍 [PROD]:

Dependencies

  • πŸ“¦ Add/update a new dependency πŸ“¦ [PACKAGE]:
  • πŸ‘ Remove a dependency πŸ‘ [PACKAGE]:
  • ‴️ Upgrade dependency ‴️ [PACKAGE]:
  • ‡️ Downgrade dependency ‡️ [PACKAGE]:

Testing

  • βœ… Add tests (TDD) βœ… [TEST]:

Security

  • πŸ” When dealing with security πŸ”

Warnings

  • ⚠️ Warning (Draw attention to sth) ⚠️ [WARNING]:

Storybook

  • πŸ“š Storybook πŸ“– [STORY]:

Automation

  • πŸ€– Dependabot update yarn.lock and package.json files, with yarn dependabot (git pull; yarn) πŸ€– [DEPENDABOT]:

Release Management

  • πŸ”œ When something is to be released/deployed πŸ”œ
  • πŸ”š When something is to be disabled, not be available/end support of it πŸ”š