Skip to content

Instantly share code, notes, and snippets.

@deild
Last active March 31, 2020 20:25
Show Gist options
  • Select an option

  • Save deild/c5a701f0f4b067cbb11e242c232cd860 to your computer and use it in GitHub Desktop.

Select an option

Save deild/c5a701f0f4b067cbb11e242c232cd860 to your computer and use it in GitHub Desktop.
A useful template for commit messages
# <type>: If applied, this commit will <subject>
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain what and why not how this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide any references to tickets, articles or other resources
# Example: See #123, Fixes #456
# --- COMMIT END ---
# Type can be
# feat (new feature)
# fix (bug fix)
# refactor (refactoring production code)
# style (formatting, missing semi colons, etc; no code change)
# docs (changes to documentation)
# test (adding or refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
# revert (reverts a previous commit)
# perf (changes that improves performance)
# bump (increase the version of something)
# --------------------
# Remember to
# Capitalize the subject line
# Use the imperative mood in the subject line
# Do not end the subject line with a period
# Separate subject from body with a blank line
# Use the body to explain what and why vs. how
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment