Skip to content

Instantly share code, notes, and snippets.

@russelldavies
Created November 2, 2022 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russelldavies/3b9c3db12b6f620c3333dd585d5f2e73 to your computer and use it in GitHub Desktop.
Save russelldavies/3b9c3db12b6f620c3333dd585d5f2e73 to your computer and use it in GitHub Desktop.
Git message imperatives

Git message imperatives:

  • Add = Create a capability e.g. feature, test, dependency.
  • Cut = Remove a capability e.g. feature, test, dependency.
  • Fix = Fix an issue e.g. bug, typo, accident, misstatement.
  • Bump = Increase the version of something e.g. dependency.
  • Make = Change the build process, or tooling, or infra.
  • Start = Begin doing something; e.g. create a feature flag.
  • Stop = End doing something; e.g. remove a feature flag.
  • Refactor = A code change that MUST be just a refactoring.
  • Reformat = Refactor of formatting, e.g. omit whitespace.
  • Optimize = Refactor of performance, e.g. speed up code.
  • Document = Refactor of documentation, e.g. help files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment