Skip to content

Instantly share code, notes, and snippets.

@heymartinadams
Last active October 21, 2019 19:47
Show Gist options
  • Save heymartinadams/b5b4f38f502db414f37f23e678508879 to your computer and use it in GitHub Desktop.
Save heymartinadams/b5b4f38f502db414f37f23e678508879 to your computer and use it in GitHub Desktop.
Git commit message rules

See here.

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