Skip to content

Instantly share code, notes, and snippets.

@iamskok
Last active September 3, 2024 15:59
Show Gist options
  • Save iamskok/2cd92725f2d30b0f52c3 to your computer and use it in GitHub Desktop.
Save iamskok/2cd92725f2d30b0f52c3 to your computer and use it in GitHub Desktop.
List of git commit message prefixes

Git commit message prefixes

  • [RFR] - Code refectoring
  • [WIP] - Work in progress
  • [FIX] - Bug fix
  • [FTR] - New feature
  • [SCR] - Security issue fix
  • [CLP] - Changes that do not alter functionality, but improve code style and readability.
  • [CRO] - Content Rate Optimization
  • [TST] - Add test suite for slider component
  • [!!!] - Deprecated. Can only be used with [FTR]

Examples

[FIX] Throw HttpStatusExceptions in BackendController
[FTR] Add option to hide BE search box in list mod
[!!!][FTR] Remove login with Facebook
[SCR] SQL Injection vulnerability in prepared statements
[CRO] Increase font-size for phone CTA's
[RFR] Edit scripts gulp task
[WIP] Change header colors
[CLP] Fix indentation for styles.js
[TST] Add unit test for modal component
@thiagoloureiro
Copy link

thiagoloureiro commented Dec 28, 2022

[RFR] - Code refectoring (refactoring)

@priyojitsingha-2001
Copy link

and what if we are deleting or removing something should we use [!!!]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment